/openjdk7/jdk/src/share/classes/javax/swing/event/ |
H A D | ListDataEvent.java | 55 private int index0; field in class:ListDataEvent 77 public int getIndex0() { return index0; } 87 * Constructs a ListDataEvent object. If index0 is > 88 * index1, index0 and index1 will be swapped such that 89 * index0 will always be <= index1. 94 * @param index0 one end of the new interval 97 public ListDataEvent(Object source, int type, int index0, int index1) { argument 100 this.index0 = Math.min(index0, index1); 101 this.index1 = Math.max(index0, index [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | ListSelectionModel.java | 37 * all take a pair of indices, index0 and index1, that represent 38 * a closed interval, i.e. the interval includes both index0 and 74 * Changes the selection to be between {@code index0} and {@code index1} 75 * inclusive. {@code index0} doesn't have to be less than or equal to 84 * @param index0 one end of the interval. 88 void setSelectionInterval(int index0, int index1); argument 93 * and the indices between {@code index0} and {@code index1} inclusive. 94 * {@code index0} doesn't have to be less than or equal to {@code index1}. 106 * @param index0 one end of the interval. 111 void addSelectionInterval(int index0, in argument 132 removeSelectionInterval(int index0, int index1) argument 218 removeIndexInterval(int index0, int index1) argument [all...] |
H A D | AbstractListModel.java | 98 * are specified by the closed interval index0, index1 -- the endpoints 100 * index0 need not be less than or equal to index1. 103 * @param index0 one end of the new interval 108 protected void fireContentsChanged(Object source, int index0, int index1) argument 116 e = new ListDataEvent(source, ListDataEvent.CONTENTS_CHANGED, index0, index1); 128 * are specified by a closed interval index0, index1 -- the enpoints 130 * index0 need not be less than or equal to index1. 133 * @param index0 one end of the new interval 138 protected void fireIntervalAdded(Object source, int index0, int index1) argument 146 e = new ListDataEvent(source, ListDataEvent.INTERVAL_ADDED, index0, index 169 fireIntervalRemoved(Object source, int index0, int index1) argument [all...] |
H A D | DefaultListSelectionModel.java | 424 * Changes the selection to be between {@code index0} and {@code index1} 425 * inclusive. {@code index0} doesn't have to be less than or equal to 438 * @param index0 one end of the interval. 444 public void setSelectionInterval(int index0, int index1) { argument 445 if (index0 == -1 || index1 == -1) { 450 index0 = index1; 453 updateLeadAnchorIndices(index0, index1); 457 int setMin = Math.min(index0, index1); 458 int setMax = Math.max(index0, index1); 464 * and the indices between {@code index0} an 488 addSelectionInterval(int index0, int index1) argument 546 removeSelectionInterval(int index0, int index1) argument 553 removeSelectionIntervalImpl(int index0, int index1, boolean changeLeadAnchor) argument 642 removeIndexInterval(int index0, int index1) argument [all...] |
H A D | JTree.java | 2493 * @param index0 the first index in the range 2497 protected TreePath[] getPathBetweenRows(int index0, int index1) { argument 2501 if (rowCount > 0 && !((index0 < 0 && index1 < 0) || 2502 (index0 >= rowCount && index1 >= rowCount))){ 2503 index0 = Math.min(rowCount - 1, Math.max(index0, 0)); 2505 int minIndex = Math.min(index0, index1); 2506 int maxIndex = Math.max(index0, index1); 2536 * @param index0 the first index in the range to select 2539 public void setSelectionInterval(int index0, in argument 2566 addSelectionInterval(int index0, int index1) argument 2594 removeSelectionInterval(int index0, int index1) argument [all...] |
H A D | JTable.java | 2155 * Selects the rows from <code>index0</code> to <code>index1</code>, 2158 * @exception IllegalArgumentException if <code>index0</code> or 2161 * @param index0 one end of the interval 2164 public void setRowSelectionInterval(int index0, int index1) { argument 2165 selectionModel.setSelectionInterval(boundRow(index0), boundRow(index1)); 2169 * Selects the columns from <code>index0</code> to <code>index1</code>, 2172 * @exception IllegalArgumentException if <code>index0</code> or 2175 * @param index0 one end of the interval 2178 public void setColumnSelectionInterval(int index0, int index1) { argument 2179 columnModel.getSelectionModel().setSelectionInterval(boundColumn(index0), boundColum 2191 addRowSelectionInterval(int index0, int index1) argument 2205 addColumnSelectionInterval(int index0, int index1) argument 2218 removeRowSelectionInterval(int index0, int index1) argument 2231 removeColumnSelectionInterval(int index0, int index1) argument [all...] |
H A D | JList.java | 1627 * @param index0 the first index in the range 1631 public Rectangle getCellBounds(int index0, int index1) { argument 1633 return (ui != null) ? ui.getCellBounds(this, index0, index1) : null; 2096 * and the current selection. Both the {@code index0} and {@code index1} 2097 * indices are removed. {@code index0} doesn't have to be less than or 2104 * @param index0 the first index to remove from the selection 2112 public void removeSelectionInterval(int index0, int index1) { argument 2113 getSelectionModel().removeSelectionInterval(index0, index1);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/html/ |
H A D | OptionListModel.java | 334 public void setSelectionInterval(int index0, int index1) { argument 335 if (index0 == -1 || index1 == -1) { 340 index0 = index1; 343 updateLeadAnchorIndices(index0, index1); 347 int setMin = Math.min(index0, index1); 348 int setMax = Math.max(index0, index1); 352 public void addSelectionInterval(int index0, int index1) argument 354 if (index0 == -1 || index1 == -1) { 359 setSelectionInterval(index0, index1); 363 updateLeadAnchorIndices(index0, index 373 removeSelectionInterval(int index0, int index1) argument 435 removeIndexInterval(int index0, int index1) argument [all...] |
H A D | AccessibleHTML.java | 2987 int index0 = getClosestInfoIndex(pos); 2988 if (index0 == -1 && 2995 index0 = getChildCount() - 1; 2997 ElementInfo info = (index0 >= 0) ? getChild(index0) : null; 3002 index0 = Math.max(index0 - 1, 0); 3012 index1 = index0; 3020 index0 = Math.max(index0, [all...] |
H A D | TableView.java | 108 int index0 = rv0.viewIndex; 110 int span = getOffset(Y_AXIS, index1) - getOffset(Y_AXIS, index0) +
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | ZoneView.java | 397 int index0 = e.getElementIndex(getStartOffset()); 399 View[] added = new View[index1 - index0 + 1]; 400 for (int i = index0; i <= index1; i++) { 401 added[i - index0] = f.create(e.getElement(i)); 441 int index0 = elem.getElementIndex(getStartOffset()); 443 int nChildren = index1 - index0; 448 View first = f.create(elem.getElement(index0)); 494 int index0 = elem.getElementIndex(getStartOffset()); 495 return index1 - index0; 504 int index0 [all...] |
H A D | View.java | 1142 int index0 = getViewIndex(pos, Position.Bias.Forward); 1143 if (index0 == -1 && e.getType() == DocumentEvent.EventType.REMOVE && 1148 index0 = getViewCount() - 1; 1150 int index1 = index0; 1151 View v = (index0 >= 0) ? getView(index0) : null; 1156 index0 = Math.max(index0 - 1, 0); 1176 index0 = Math.max(index0, [all...] |
H A D | DefaultStyledDocument.java | 558 int index0 = section.getElementIndex(offset); 562 for (int i = index0; i <= index1; i++) { 1660 int index0 = ec.index; 1661 int index1 = index0; 1665 if (index1 == index0) { 1682 index1 = index0; 1690 child = ec.parent.getElement(index0); 1700 for (int i = index0 + 1; i < index1; i++) { 1706 if (index1 != index0) { 1932 int index0 [all...] |
H A D | GlyphPainter2.java | 77 int index0 = p0 - p; 80 TextHitInfo hit0 = TextHitInfo.afterOffset(index0);
|
/openjdk7/hotspot/src/share/vm/code/ |
H A D | oopRecorder.cpp | 105 int index0 = i + first_index; local 106 if (_no_finds->contains(index0)) continue; 108 _indexes->set_cache_location_index(cloc, index0);
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CompositeGlyphMapper.java | 101 int index0 = unicode >> 8; 102 if (glyphMaps[index0] == null) { 103 glyphMaps[index0] = new int[BLOCKSZ]; 105 glyphMaps[index0][i] = UNINITIALIZED_GLYPH; 108 glyphMaps[index0][unicode & 0xff] = glyphCode;
|
/openjdk7/jdk/test/javax/swing/JList/6462008/ |
H A D | bug6462008.java | 328 private static void setSelectionInterval(final int index0, final int index1) throws Exception { argument 333 list.getSelectionModel().setSelectionInterval(index0, index1); 402 int index0 = Math.min(lsm.getMinSelectionIndex(), 0); 405 for (int i = index0; i <= index1; i++) {
|
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | ProxyGenerator.java | 1953 private short index0; field in class:ProxyGenerator.ConstantPool.IndirectEntry 1962 this.index0 = index; 1970 public IndirectEntry(int tag, short index0, short index1) { argument 1972 this.index0 = index0; 1978 out.writeShort(index0); 1993 return tag + index0 + index1; 2000 index0 == other.index0 && index1 == other.index1)
|
/openjdk7/jdk/src/macosx/classes/com/apple/laf/ |
H A D | AquaFileChooserUI.java | 2224 void verifySelectionInterval(int index0, int index1, boolean isSetSelection) { argument 2225 if (index0 > index1) { 2227 index1 = index0; 2228 index0 = tmp; 2230 int start = index0; 2270 public void setSelectionInterval(final int index0, final int index1) { argument 2271 if (index0 == -1 || index1 == -1) { return; } 2273 if ((getSelectionMode() == SINGLE_SELECTION) || (index0 == index1)) { 2276 verifySelectionInterval(index0, index1, true); 2280 public void addSelectionInterval(final int index0, fina argument [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | classFileParser.cpp | 1724 int index0 = index; local 1726 u1* abase = buffer + index0; 1750 // && e_size == (index0 - index) // match size 1759 // index0, CHECK);
|