Searched defs:childIndex (Results 1 - 12 of 12) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreeNode.java51 * <code>childIndex</code>.
53 TreeNode getChildAt(int childIndex); argument
H A DDefaultMutableTreeNode.java156 * to this node's child array at index <code>childIndex</code>.
161 * @param childIndex the index in this node's child array
164 * <code>childIndex</code> is out of bounds
172 public void insert(MutableTreeNode newChild, int childIndex) { argument
190 children.insertElementAt(newChild, childIndex);
198 * @param childIndex the index in this node's child array
201 * <code>childIndex</code> is out of bounds
203 public void remove(int childIndex) { argument
204 MutableTreeNode child = (MutableTreeNode)getChildAt(childIndex);
205 children.removeElementAt(childIndex);
[all...]
H A DFixedHeightLayoutCache.java193 int childIndex = treeModel.getIndexOfChild
197 if(childIndex != -1)
198 return getBounds(node, childIndex, placeIn);
527 * Returns the bounds for the given node. If <code>childIndex</code>
529 * the bounds of the node at <code>childIndex</code> are returned.
531 private Rectangle getBounds(FHTreeStateNode parent, int childIndex, argument
538 if(childIndex == -1) {
546 row = parent.getRowToModelIndex(childIndex);
547 value = treeModel.getChild(parent.getUserObject(), childIndex);
673 private FHTreeStateNode createNodeForValue(Object value,int childIndex) { argument
749 protected int childIndex; field in class:FixedHeightLayoutCache.FHTreeStateNode
762 FHTreeStateNode(Object userObject, int childIndex, int row) argument
789 remove(int childIndex) argument
1092 resetChildrenRowsFrom(int newRow, int childIndex, int modelIndex) argument
1458 protected int childIndex; field in class:FixedHeightLayoutCache.SearchInfo
[all...]
H A DVariableHeightLayoutCache.java763 * Creates a new node to represent the node at <I>childIndex</I> in
773 int childIndex) {
778 newValue = treeModel.getChild(parent.getValue(), childIndex);
780 parent.insert(newChildNode, childIndex);
788 if(childIndex == 0) {
794 else if(childIndex == parent.getChildCount())
800 getChildAt(childIndex - 1);
849 int childIndex = treeModel.
853 if(childIndex == -1 ||
854 childIndex >
772 createNodeAt(TreeStateNode parent, int childIndex) argument
1074 remove(int childIndex) argument
[all...]
/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djavax_swing_tree_DefaultTreeModel.java50 public TreeNode getChildAt(int childIndex) { argument
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DElementIterator.java90 int childIndex; field in class:ElementIterator.StackItem
99 this.childIndex = -1;
103 childIndex++;
111 return childIndex;
H A DTextLayoutStrategy.java183 int childIndex = lv.getViewIndex(startOffset, Position.Bias.Forward);
184 View v = lv.getView(childIndex);
376 int getFontBoundary(int childIndex, int dir) { argument
377 View child = v.getView(childIndex);
378 Font f = getFont(childIndex);
379 for (childIndex += dir; (childIndex >= 0) && (childIndex < v.getViewCount());
380 childIndex += dir) {
381 Font next = getFont(childIndex);
394 getFont(int childIndex) argument
[all...]
H A DBoxView.java1096 * @param childIndex the index of the requested child
1099 protected int getOffset(int axis, int childIndex) { argument
1101 return offsets[childIndex];
1107 * @param childIndex the index of the requested child
1110 protected int getSpan(int axis, int childIndex) { argument
1112 return spans[childIndex];
H A DAbstractDocument.java2143 * <code>childIndex</code>.
2145 public TreeNode getChildAt(int childIndex) { argument
2146 return (TreeNode)getElement(childIndex);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSourceTreeTool.java209 * <code>childIndex</code>.
212 public TreeNode getChildAt(int childIndex) { argument
214 return children[childIndex];
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DDeferredDocumentImpl.java632 int childIndex = getLastChild(nodeIndex, false);
633 while (childIndex != -1) {
634 int clonedChildIndex = cloneNode(childIndex, deep);
637 childIndex = getRealPrevSibling(childIndex, false);
649 public void appendChild(int parentIndex, int childIndex) { argument
654 int cchunk = childIndex >> CHUNK_SHIFT;
655 int cindex = childIndex & CHUNK_MASK;
663 setChunkIndex(fNodeLastChild, childIndex, pchunk, pindex);
777 /** Sets the last child of the parentIndex to childIndex
778 setAsLastChild(int parentIndex, int childIndex) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DStyleSheet.java2119 * <code>childIndex</code> with. The retValue will usually be
2120 * <code>childIndex</code> + 1, unless <code>parentView</code>
2124 private int getRenderIndex(View parentView, int childIndex) { argument
2128 int retIndex = childIndex;
2129 for (int counter = childIndex; counter >= 0; counter--) {

Completed in 68 milliseconds