Searched refs:selectionMode (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/
H A DListSelectionModel.java49 * A value for the selectionMode property: select one list index
57 * A value for the selectionMode property: select one contiguous
65 * A value for the selectionMode property: select one or more
279 void setSelectionMode(int selectionMode); argument
H A DDefaultListSelectionModel.java57 private int selectionMode = MULTIPLE_INTERVAL_SELECTION; field in class:DefaultListSelectionModel
84 public int getSelectionMode() { return selectionMode; }
90 public void setSelectionMode(int selectionMode) { argument
91 switch (selectionMode) {
95 this.selectionMode = selectionMode;
98 throw new IllegalArgumentException("invalid selectionMode");
H A DJList.java1927 * @param selectionMode the selection mode
1937 public void setSelectionMode(int selectionMode) { argument
1938 getSelectionModel().setSelectionMode(selectionMode);
H A DJTable.java1968 public void setSelectionMode(int selectionMode) { argument
1970 getSelectionModel().setSelectionMode(selectionMode);
1971 getColumnModel().getSelectionModel().setSelectionMode(selectionMode);
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSingleLeafTreeSelectionModel.java45 selectionMode = SINGLE_TREE_SELECTION;
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DOptionListModel.java52 private int selectionMode = SINGLE_SELECTION; field in class:OptionListModel
72 public int getSelectionMode() { return selectionMode; }
74 public void setSelectionMode(int selectionMode) { argument
75 switch (selectionMode) {
79 this.selectionMode = selectionMode;
82 throw new IllegalArgumentException("invalid selectionMode");
547 * of the initial selection. If the selectionMode
556 if (selectionMode == SINGLE_SELECTION) {
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DDefaultTreeSelectionModel.java66 /** Property name for selectionMode. */
67 public static final String SELECTION_MODE_PROPERTY = "selectionMode";
89 protected int selectionMode; field in class:DefaultTreeSelectionModel
112 selectionMode = DISCONTIGUOUS_TREE_SELECTION;
151 int oldMode = selectionMode;
153 selectionMode = mode;
154 if(selectionMode != TreeSelectionModel.SINGLE_TREE_SELECTION &&
155 selectionMode != TreeSelectionModel.CONTIGUOUS_TREE_SELECTION &&
156 selectionMode != TreeSelectionModel.DISCONTIGUOUS_TREE_SELECTION)
157 selectionMode
[all...]
/openjdk7/jdk/test/javax/swing/JList/6462008/
H A Dbug6462008.java317 private static void setSelectionMode(final int selectionMode) throws Exception { argument
322 list.getSelectionModel().setSelectionMode(selectionMode);

Completed in 72 milliseconds