Searched refs:newIndex (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DDefaultTableColumnModel.java163 * <code>newIndex</code>. The old column at <code>columnIndex</code>
164 * will now be found at <code>newIndex</code>. The column
165 * that used to be at <code>newIndex</code> is shifted
167 * <code>columnIndex</code> equals <code>newIndex</code>. This method
171 * @param newIndex new index to move the column
173 * <code>newIndex</code>
176 public void moveColumn(int columnIndex, int newIndex) { argument
178 (newIndex < 0) || (newIndex >= getColumnCount()))
189 if (columnIndex == newIndex) {
[all...]
H A DTableColumnModel.java73 * <code>newIndex</code>. The old column at <code>columnIndex</code>
74 * will now be found at <code>newIndex</code>. The column that used
75 * to be at <code>newIndex</code> is shifted left or right
77 * <code>columnIndex</code> equals <code>newIndex</code>. This method
81 * @param newIndex index of the column's new location
83 * <code>newIndex</code>
86 public void moveColumn(int columnIndex, int newIndex); argument
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DContextManager.java181 public int setCurrentFrameIndex(ThreadReference t, int newIndex) throws VMNotInterruptedException { argument
182 return setCurrentFrameIndex(t, newIndex, false);
185 public int setCurrentFrameIndex(int newIndex) throws VMNotInterruptedException { argument
189 return setCurrentFrameIndex(currentThread, newIndex, false);
201 int newIndex = relative? oldIndex + x : x;
202 if (newIndex > maxIndex) {
203 newIndex = maxIndex;
204 } else if (newIndex < 0) {
205 newIndex = 0;
207 if (!sameThread || newIndex !
[all...]
H A DMonitorListModel.java66 int newIndex = monitors.size()-1; // order important
67 fireIntervalAdded(this, newIndex, newIndex);
/openjdk7/jdk/src/share/classes/java/text/
H A DCharacterIteratorFieldDelegate.java67 int newIndex = index - as.length();
68 int aStart = Math.max(0, start - newIndex);
73 index = newIndex;
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/
H A DDTMStringPool.java127 int newIndex=m_intToString.size();
132 m_hashStart[hashslot]=newIndex;
134 m_hashChain.setElementAt(newIndex,hashlast);
136 return newIndex;
H A DExpandedNameTable.java264 int newIndex = e.hash % newCapacity;
265 if (newIndex < 0)
266 newIndex = -newIndex;
268 e.next = m_table[newIndex];
269 m_table[newIndex] = e;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/dynamicany/
H A DDynEnumImpl.java157 int newIndex = computeCurrentEnumeratorIndex(value);
158 if (newIndex == NO_INDEX) {
161 currentEnumeratorIndex = newIndex;
162 any.insert_long(newIndex);
H A DDynAnyConstructedImpl.java151 public boolean seek(int newIndex) { argument
155 if (newIndex < 0) {
162 if (newIndex < components.length) {
163 index = newIndex;
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleTree.java353 int newIndex;
355 newIndex = treeModel.getChildCount(parent);
357 newIndex = parent.getIndex(lastItem) + 1;
363 parent, newIndex);
402 int newIndex;
405 newIndex = treeModel.getChildCount(parent);
407 newIndex = parent.getIndex(lastItem);
413 parent, newIndex);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTableHeaderUI.java460 int newIndex = getSelectedColumnIndex();
461 if (newIndex < header.getColumnModel().getColumnCount() - 1) {
462 newIndex++;
464 selectColumn(newIndex);
467 return newIndex;
471 int newIndex = getSelectedColumnIndex();
472 if (newIndex > 0) {
473 newIndex--;
475 selectColumn(newIndex);
478 return newIndex;
[all...]
H A DBasicTreeUI.java2497 int newIndex = getRowForPath(tree, newLead);
2500 tree.setSelectionRow(newIndex);
2503 if(aRow < newIndex) {
2504 tree.setSelectionInterval(aRow, newIndex);
2507 tree.setSelectionInterval(newIndex, aRow);
4344 int newIndex;
4348 newIndex = 0;
4350 newIndex = rowCount - 1;
4354 newIndex = Math.min(rowCount - 1, Math.max
4359 ui.extendSelection(tree.getPathForRow(newIndex));
[all...]
H A DBasicTabbedPaneUI.java1946 int newIndex;
1951 newIndex = tabForCoordinate(tabPane, r.x + r.width/2 + offset,
1957 newIndex = tabForCoordinate(tabPane, r.x + r.width/2,
1960 if (newIndex != -1) {
1961 while (!tabPane.isEnabledAt(newIndex) && newIndex != tabIndex) {
1962 newIndex = getNextTabIndex(newIndex);
1964 navigateTo(newIndex);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DScreenMenuBar.java210 int newIndex = 0, currVisibleIndex = 0;
216 newIndex = currVisibleIndex;
223 add(sm, newIndex);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DRangeSlider.java247 int newIndex = getIndexFromPosition(newFirstX) + 1;
248 if (newIndex + model.getSecondPosition() - model.getFirstPosition() >= model.getPositions().size()) {
249 newIndex = model.getPositions().size() - (model.getSecondPosition() - model.getFirstPosition()) - 1;
251 int secondPosition = newIndex + model.getSecondPosition() - model.getFirstPosition();
252 tempModel.setPositions(newIndex, secondPosition);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDefaultEditorKit.java1447 int newIndex;
1452 newIndex = target.viewToModel(
1460 newIndex = target.viewToModel(new Point(
1464 newIndex = target.viewToModel(new Point(
1468 newIndex = constrainOffset(target, newIndex);
1469 if (newIndex != selectedIndex) {
1473 int newY = getAdjustedY(target, newVis, newIndex);
1480 target.moveCaretPosition(newIndex);
1482 target.setCaretPosition(newIndex);
[all...]
H A DGapContent.java657 int newIndex = 0;
668 array[index++] = marks[newIndex++];
675 array[index++] = marks[newIndex++];
679 array[index++] = marks[newIndex++];
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultRowSorter.java1097 int newIndex = 0;
1102 newViewToModel, newIndex, i - last);
1103 newIndex += (i - last);
1108 newViewToModel, newIndex, viewToModel.length - last);
H A DJTabbedPane.java700 int newIndex = index;
711 if (newIndex > removeIndex) {
712 newIndex--;
719 newIndex,
734 if (selectedIndex >= newIndex) {
/openjdk7/jdk/src/share/classes/sun/font/
H A DStandardGlyphVector.java1471 int newIndex = -1;
1473 newIndex = 0; // might shrink
1487 newIndex = i / 6 + 1; // if no match, end of list
1492 if (newIndex != oldIndex) {
1506 newIndex = oldIndex;
1507 System.arraycopy(temp, 0, transforms, (newIndex - 1) * 6, 6);
1532 if (newIndex > oldIndex) { // don't forget to decrement this too if we need to
1533 --newIndex;
1542 indices[glyphIndex] = newIndex;
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DVariableHeightLayoutCache.java649 int newIndex;
666 newIndex = newNode.getRow();
668 if(newIndex == 0)
669 updateYLocationsFrom(newIndex);
671 updateYLocationsFrom(newIndex - 1);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ServerCompiler/src/com/sun/hotspot/igv/servercompiler/
H A DServerCompilerScheduler.java443 int newIndex = eval(curIndex, intermediate);
445 BlockIntermediate newBlock = intermediate.get(newIndex);
448 dom = newIndex;
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/png/
H A DPNGMetadata.java370 int newIndex = 0;
373 PLTE_order[i] = newIndex;
374 newAlpha[newIndex] = alpha[i];
375 ++newIndex;
378 int numTransparent = newIndex;
384 PLTE_order[i] = newIndex++;
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DDefaultSynthStyle.java546 int newIndex = maxOStyles;
563 newStates[newIndex++] = (StateInfo)states[
/openjdk7/jdk/src/share/classes/sun/misc/
H A DURLClassPath.java901 JarIndex newIndex = newLoader.getIndex();
902 if(newIndex != null) {
904 newIndex.merge(this.index, (pos == -1 ?

Completed in 1942 milliseconds

12