Searched refs:aNode (Results 1 - 7 of 7) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/common/
H A DPaletteBuilder.java201 protected int findColorIndex(ColorNode aNode, Color aColor) { argument
208 if (aNode.isLeaf) {
209 return aNode.paletteIndex;
211 int childIndex = getBranchIndex(aColor, aNode.level);
213 return findColorIndex(aNode.children[childIndex], aColor);
264 protected ColorNode insertNode(ColorNode aNode, Color aColor, int aLevel) { argument
266 if (aNode == null) {
267 aNode = new ColorNode();
272 aNode.level = aLevel;
273 aNode
327 findPaletteEntry(ColorNode aNode, int index, byte[] red, byte[] green, byte[] blue) argument
415 freeTree(ColorNode aNode) argument
[all...]
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleTreeModel.java75 DefaultMutableTreeNode aNode = (DefaultMutableTreeNode) path.
77 SampleData sampleData = (SampleData) aNode.getUserObject();
85 nodeChanged(aNode);
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultMutableTreeNode.java468 * Returns the nearest common ancestor to this node and <code>aNode</code>.
470 * <code>aNode</code> are in different trees or if <code>aNode</code> is
475 * @param aNode node to find common ancestor with
476 * @return nearest ancestor common to this node and <code>aNode</code>,
479 public TreeNode getSharedAncestor(DefaultMutableTreeNode aNode) { argument
480 if (aNode == this) {
482 } else if (aNode == null) {
490 level2 = aNode.getLevel();
494 node1 = aNode;
539 isNodeRelated(DefaultMutableTreeNode aNode) argument
615 getPathToRoot(TreeNode aNode, int depth) argument
851 isNodeChild(TreeNode aNode) argument
[all...]
H A DDefaultTreeModel.java222 MutableTreeNode aNode = (MutableTreeNode)path.getLastPathComponent();
224 aNode.setUserObject(newValue);
225 nodeChanged(aNode);
375 * @param aNode the TreeNode to get the path for
377 public TreeNode[] getPathToRoot(TreeNode aNode) { argument
378 return getPathToRoot(aNode, 0);
387 * @param aNode the TreeNode to get the path for
393 protected TreeNode[] getPathToRoot(TreeNode aNode, int depth) { argument
401 if(aNode == null) {
409 if(aNode
[all...]
H A DVariableHeightLayoutCache.java885 TreeStateNode aNode;
887 aNode = getNode(location);
888 newYOrigin = aNode.getYOrigin() + aNode.getPreferredHeight();
891 aNode = (TreeStateNode)visibleNodes.
893 aNode.setYOrigin(newYOrigin);
894 newYOrigin += aNode.getPreferredHeight();
1512 TreeStateNode aNode;
1515 aNode = (TreeStateNode)cursor.nextElement();
1516 if(!updateNodeSizes && !aNode
[all...]
H A DFixedHeightLayoutCache.java976 FHTreeStateNode aNode;
990 aNode = (FHTreeStateNode)getChildAt(counter);
991 if(aNode.childIndex > newChildIndex) {
/openjdk7/jdk/src/share/demo/jfc/Notepad/
H A DElementTreePanel.java590 protected TreeNode[] getPathToRoot(TreeNode aNode, int depth) { argument
595 if (aNode == null) {
603 if (aNode == root) {
606 TreeNode parent = aNode.getParent();
613 retNodes[retNodes.length - depth] = aNode;

Completed in 96 milliseconds