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

/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultListSelectionModel.java60 private int anchorIndex = -1; field in class:DefaultListSelectionModel
362 private void updateLeadAnchorIndices(int anchorIndex, int leadIndex) { argument
364 if (this.anchorIndex != anchorIndex) {
365 markAsDirty(this.anchorIndex);
366 markAsDirty(anchorIndex);
374 this.anchorIndex = anchorIndex;
624 int anchorIndex = this.anchorIndex;
736 setAnchorSelectionIndex(int anchorIndex) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DOptionListModel.java55 private int anchorIndex = -1; field in class:OptionListModel
271 private void updateLeadAnchorIndices(int anchorIndex, int leadIndex) { argument
273 if (this.anchorIndex != anchorIndex) {
274 if (this.anchorIndex != -1) { // The unassigned state.
275 markAsDirty(this.anchorIndex);
277 markAsDirty(anchorIndex);
287 this.anchorIndex = anchorIndex;
480 return anchorIndex;
493 setAnchorSelectionIndex(int anchorIndex) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java2711 int anchorIndex = adjustIndex(list.getAnchorSelectionIndex(), list);
2713 if (anchorIndex == -1) {
2714 anchorIndex = 0;
2717 anchorSelected = list.isSelectedIndex(anchorIndex);
2723 list.addSelectionInterval(anchorIndex, row);
2725 list.removeSelectionInterval(anchorIndex, row);
2728 list.getSelectionModel().setAnchorSelectionIndex(anchorIndex);
2737 list.setSelectionInterval(anchorIndex, row);
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaFileChooserUI.java2262 public void setAnchorSelectionIndex(final int anchorIndex) { argument
2263 if (isSelectableInListIndex(anchorIndex)) super.setAnchorSelectionIndex(anchorIndex);

Completed in 47 milliseconds