Searched refs:leadIndex (Results 1 - 7 of 7) sorted by relevance

/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DDefaultListSelectionModel.java62 private int leadIndex = -1; field in class:DefaultListSelectionModel
377 private void updateLeadAnchorIndices(int anchorIndex, int leadIndex) { argument
384 if (this.leadIndex != leadIndex) {
385 markAsDirty(this.leadIndex);
386 markAsDirty(leadIndex);
390 this.leadIndex = leadIndex;
635 int leadIndex = this.leadIndex;
769 moveLeadSelectionIndex(int leadIndex) argument
823 setLeadSelectionIndex(int leadIndex) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DOptionListModel.java55 private int leadIndex = -1; field in class:OptionListModel
270 private void updateLeadAnchorIndices(int anchorIndex, int leadIndex) { argument
279 if (this.leadIndex != leadIndex) {
280 if (this.leadIndex != -1) { // The unassigned state.
281 markAsDirty(this.leadIndex);
283 markAsDirty(leadIndex);
287 this.leadIndex = leadIndex;
484 return leadIndex;
524 setLeadSelectionIndex(int leadIndex) argument
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DDefaultTreeSelectionModel.java95 protected int leadIndex; field in class:DefaultTreeSelectionModel
114 leadIndex = leadRow = -1;
576 leadIndex = leadRow = -1;
786 if(leadIndex != -1 && rows != null) {
787 leadRow = rows[leadIndex];
1115 * Updates the leadIndex instance variable.
1121 leadIndex = leadRow = -1;
1124 leadRow = leadIndex = -1;
1130 leadIndex = counter;
1137 leadIndex
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/
H A DSynthTreeUI.java554 int leadIndex;
557 leadIndex = getLeadSelectionRow();
560 leadIndex = -1;
566 (leadIndex == row));
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicListUI.java253 * @param leadIndex a lead index
263 int leadIndex)
266 boolean cellHasFocus = list.hasFocus() && (row == leadIndex);
354 int leadIndex = adjustIndex(list.getLeadSelectionIndex(), list);
379 leadIndex);
2902 int leadIndex = adjustIndex(list.getLeadSelectionIndex(), list);
2903 if (leadIndex != -1) {
2904 Rectangle r = getCellBounds(list, leadIndex, leadIndex);
256 paintCell( Graphics g, int row, Rectangle rowBounds, ListCellRenderer<Object> cellRenderer, ListModel<Object> dataModel, ListSelectionModel selModel, int leadIndex) argument
H A DBasicTreeUI.java1745 int leadIndex;
1748 leadIndex = getLeadSelectionRow();
1751 leadIndex = -1;
1758 (leadIndex == row));
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/laf/
H A DAquaFileChooserUI.java2338 public void setLeadSelectionIndex(final int leadIndex) { argument
2339 if (isSelectableInListIndex(leadIndex)) super.setLeadSelectionIndex(leadIndex);

Completed in 177 milliseconds