Searched refs:anIndex (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeSelectionModel.java928 int anIndex, counter, min;
942 anIndex = rows[0];
943 if(anIndex == -1 || anIndex < (min - pathCount) ||
944 anIndex > (min + pathCount))
946 if(anIndex < min)
947 min = anIndex;
948 if(!bitSet.get(anIndex)) {
949 bitSet.set(anIndex);
979 int anIndex;
[all...]
H A DDefaultTreeModel.java274 int anIndex = parent.getIndex(node);
275 if(anIndex != -1) {
278 cIndexs[0] = anIndex;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJComboBox.java606 * Selects the item at index <code>anIndex</code>.
608 * @param anIndex an integer specifying the list item to select,
610 * @exception IllegalArgumentException if <code>anIndex</code> < -1 or
611 * <code>anIndex</code> is greater than or equal to size
616 public void setSelectedIndex(int anIndex) { argument
619 if ( anIndex == -1 ) {
621 } else if ( anIndex < -1 || anIndex >= size ) {
622 throw new IllegalArgumentException("setSelectedIndex: " + anIndex + " out of bounds");
624 setSelectedItem(dataModel.getElementAt(anIndex));
759 removeItemAt(int anIndex) argument
[all...]
/openjdk7/jdk/src/share/demo/jfc/Notepad/
H A DElementTreePanel.java574 int anIndex = getIndexOfChild(parent, node);
576 if (anIndex != -1) {
579 cIndexs[0] = anIndex;

Completed in 46 milliseconds