Lines Matching defs:path

56     /** For each path identifies if that path is in fact new. */
84 * path identifies the path that have been either added or
88 * @param path the path that has changed in the selection
89 * @param isNew whether or not the path is new to the selection, false
90 * means path was removed from the selection.
92 public TreeSelectionEvent(Object source, TreePath path, boolean isNew,
98 paths[0] = path;
121 * Returns the first path element.
129 * Returns whether the path identified by {@code getPath} was
131 * indicates the path identified by {@code getPath} was added to
143 * Returns whether the specified path was added to the selection.
144 * A return value of {@code true} indicates the path identified by
145 * {@code path} was added to the selection. A return value of
146 * {@code false} indicates {@code path} is no longer selected. This method
148 * with a path not included in {@code getPaths()} throws an
151 * @param path the path to test
152 * @return {@code true} if {@code path} was added to the selection,
154 * @throws IllegalArgumentException if {@code path} is not contained
158 public boolean isAddedPath(TreePath path) {
160 if(paths[counter].equals(path))
162 throw new IllegalArgumentException("path is not a path identified by the TreeSelectionEvent");
166 * Returns whether the path at {@code getPaths()[index]} was added
168 * path was added to the selection. A return value of {@code false}
169 * indicates the path is no longer selected.
171 * @param index the index of the path to test
172 * @return {@code true} if the path was added to the selection,
188 * Returns the path that was previously the lead path.
195 * Returns the current lead path.