Lines Matching refs:node
50 * A specific node in a tree can be identified either by a
52 * that encapsulates a node and all of its ancestors), or by its
53 * display row, where each row in the display area displays one node.
54 * An <i>expanded</i> node is a non-leaf node (as identified by
55 * <code>TreeModel.isLeaf(node)</code> returning false) that will displays
58 * node is one which hides them. A <i>hidden</i> node is one which is
60 * are expanded, but may or may not be displayed. A <i>displayed</i> node
85 * node <code>valueChanged</code> will only be invoked once.
88 * a user clicks on a node, regardless of whether or not it was selected,
164 * True if the root node is displayed, false if its children are
196 * A handle is a small icon that displays adjacent to the node which
197 * allows the user to click once to expand or collapse the node. A
198 * common interface shows a plus sign (+) for a node which can be
199 * expanded and a minus sign (-) for a node which can be collapsed.
203 * node is to be displayed, then that is the only node at the topmost
204 * level. If the root node is not displayed, then all of its
208 * If the root node isn't visible, it is generally a good to make
264 * If true, when a node is expanded, as many of the descendants are
271 * Number of mouse clicks before a node is expanded.
385 * <li>The root is a leaf node
534 * </ul>then a new root node is created with each of the incoming
558 * The default model used by the tree defines a leaf node as any node
570 * child of a new root node which is not displayed.
571 * By default, the tree defines a leaf node as any node without
587 * child of a new root node which is not displayed. By default, the
588 * tree defines a leaf node as any node without children.
604 * becomes a child of the new root node. By default, the tree defines
605 * a leaf node as any node without children.
620 * which displays the root node.
621 * By default, the tree defines a leaf node as any node without children.
633 * displays the root node and which decides whether a node is a
634 * leaf node in the specified manner.
637 * @param asksAllowsChildren if false, any node without children is a
638 * leaf node; if true, only nodes that do not allow
647 * Returns an instance of <code>JTree</code> which displays the root node
884 * Returns true if the root node of the tree is displayed.
886 * @return true if the root node of the tree is displayed
894 * Determines whether or not the root node from
899 * @param rootVisible true if the root node of the tree is to be displayed
903 * description: Whether or not the root node
918 * which specifies whether the node handles should be displayed.
932 * description: Whether the node handles are to be
1036 * another node in the tree, a change in the tree's data, or by some
1048 * selecting another node in the tree, a change in the
1076 * when a node expands
1078 * the maximum possible number of the node's descendants visible.
1090 * description: Indicates if a node descendant should be scrolled when expanded.
1111 * Sets the number of mouse clicks before a node will expand or close.
1119 * description: Number of clicks before a node will expand/collapse.
1130 * Returns the number of mouse clicks needed to expand or close a node.
1132 * @return number of mouse clicks before node is expanded
1509 * @return true if every parent node and the node itself is editable
1581 * @param selected true if the node is selected
1582 * @param expanded true if the node is expanded
1583 * @param leaf true if the node is a leaf node
1584 * @param row an integer specifying the node's display row, where 0 is
1586 * @param hasFocus true if the node has the focus
1587 * @return the <code>String</code> representation of the node's value
1607 * Returns the number of viewable nodes. A node is viewable if all of its
1623 * Selects the node identified by the specified path. If any
1624 * component of the path is hidden (under a collapsed node), and
1628 * @param path the <code>TreePath</code> specifying the node to select
1637 * node), and <code>getExpandsSelectedPaths</code> is true
1688 * Selects the node at the specified row in the display.
1726 * Adds the node identified by the specified <code>TreePath</code>
1761 * @param row an integer specifying the row of the node to add,
1825 * Returns the path to the first selected node.
1827 * @return the <code>TreePath</code> for the first selected node,
1908 * @param path a <code>TreePath</code> identifying a node
1909 * @return true if the node is selected
1916 * Returns true if the node identified by row is selected.
1920 * @return true if the node is selected
1975 * Returns true if the node identified by the path has ever been
1984 * Returns true if the node identified by the path is currently expanded,
1986 * @param path the <code>TreePath</code> specifying the node to check
1987 * @return false if any of the nodes in the node's path are collapsed,
2006 * Returns true if the node at the specified display row is currently
2011 * @return true if the node is currently expanded, otherwise false
2034 * @return true if any of the nodes in the node's path are collapsed,
2042 * Returns true if the node at the specified display row is collapsed.
2046 * @return true if the node is currently collapsed, otherwise false
2053 * Ensures that the node identified by path is currently viewable.
2072 * @return true if the node is viewable, otherwise false
2087 * Returns the <code>Rectangle</code> that the specified node will be drawn
2093 * node is not currently displayed.
2095 * @param path the <code>TreePath</code> identifying the node
2096 * @return the <code>Rectangle</code> the node is drawn in,
2108 * Returns the <code>Rectangle</code> that the node at the specified row is
2113 * @return the <code>Rectangle</code> the node is drawn in
2122 * node identified by the path is displayed. Only works when this
2125 * @param path the <code>TreePath</code> identifying the node to
2162 * @return the <code>TreePath</code> to the specified node,
2175 * Returns the row that displays the node identified by the specified
2178 * @param path the <code>TreePath</code> identifying a node
2192 * Ensures that the node identified by the specified path is
2196 * @param path the <code>TreePath</code> identifying a node
2209 * Ensures that the node in the specified row is expanded and
2223 * Ensures that the node identified by the specified path is
2226 * @param path the <code>TreePath</code> identifying a node
2233 * Ensures that the node in the specified row is collapsed.
2246 * Returns the path for the node at the specified location.
2252 * @return the <code>TreePath</code> for the node at that location
2284 * Returns the path to the node that is closest to x,y. If
2287 * the node is exactly at x, y, get the node's bounds and
2294 * @return the <code>TreePath</code> for the node closest to that location,
2309 * Returns the row to the node that is closest to x,y. If no nodes
2312 * exactly at x, y, get the bounds for the node at the returned
2333 * @return true if the user is currently editing a node
2379 * Selects the node identified by the specified path and initiates
2384 * @param path the <code>TreePath</code> identifying a node
2396 * @return the <code>TreePath</code> for the node being edited
2603 * Removes the node identified by the specified path from the current
2606 * @param path the <code>TreePath</code> identifying a node
2675 * a tree node is expanded or collapsed (a "negative
2713 * when a tree node will be expanded or collapsed (a "negative
2746 * @param path the <code>TreePath</code> indicating the node that was
2777 * @param path the <code>TreePath</code> indicating the node that was
2808 * @param path the <code>TreePath</code> indicating the node that was
2834 * @param path the <code>TreePath</code> indicating the node that was
2859 * when a node is selected or deselected (a "negative
2905 * when a node is selected or deselected
2927 * expanded node set (e.g nodes were expanded or collapsed, or
3915 * Creates a node with the specified object as its value and
3916 * with the specified children. For the node to allow children,
3919 * if empty. Otherwise, the node is not
3923 * new node
3929 * then the node is not allowed to have children
3950 * Returns true if this node allows children. Whether the node
3953 * @return true if this node allows children, false otherwise
4175 * @param e a Tree node insertion event
4184 * @param e a Tree node(s) removal event
4210 AccessibleJTreeNode node = new AccessibleJTreeNode(JTree.this,
4213 PropertyChangeEvent pce = new PropertyChangeEvent(node,
4225 * @param e a Tree node insertion event
4234 AccessibleJTreeNode node = new AccessibleJTreeNode(JTree.this,
4237 PropertyChangeEvent pce = new PropertyChangeEvent(node,
4328 return 1; // the root node
4347 if (i == 0) { // return the root node Accessible
4559 * Get the AccessibleContext associated with this tree node.
5428 * tree node. If this node is not a leaf, there is at least
5446 * Return a description of the specified action of the tree node.
5447 * If this node is not a leaf, there is at least one action
5472 * Perform the specified Action on the tree node. If this node