Lines Matching refs:node
74 * a node will result in reseting the selection of the JTextComponent.
148 // Since the display value of every node after the insertion point
475 * root a fake node has be created. This class creates a fake node as
492 * the parent's child array. <I>parent</I> must be a node
498 * @param parent a node in the tree, obtained from this data source
511 * if the node is a leaf or if it has no children.
512 * <I>parent</I> must be a node previously obtained from this
515 * @param parent a node in the tree, obtained from this data source
516 * @return the number of children of the node <I>parent</I>
527 * Returns true if <I>node</I> is a leaf. It is possible for
528 * this method to return false even if <I>node</I> has no
530 * contain no files; the node representing the directory is
533 * @param node a node in the tree, obtained from this data source
534 * @return true if <I>node</I> is a leaf
537 public boolean isLeaf(Object node) {
538 if (node == root) {
541 return super.isLeaf(node);
562 * Invoke this method after you've changed how node is to be
566 public void nodeChanged(TreeNode node) {
567 if (listenerList != null && node != null) {
568 TreeNode parent = node.getParent();
570 if (parent == null && node != root) {
574 int anIndex = getIndexOfChild(parent, node);
587 * Returns the path to a particluar node. This is recursive.
593 /* Check for null, in case someone passed in a null node, or