Searched refs:selectionModel (Results 1 - 9 of 9) sorted by relevance
/openjdk7/jdk/test/javax/swing/JTable/7027139/ |
H A D | bug7027139.java | 46 ListSelectionModel selectionModel = orderTable.getSelectionModel(); 47 selectionModel.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); 48 selectionModel.addListSelectionListener(new ListSelectionListener() {
|
/openjdk7/jdk/src/share/classes/javax/swing/table/ |
H A D | DefaultTableColumnModel.java | 66 protected ListSelectionModel selectionModel; field in class:DefaultTableColumnModel 146 if (selectionModel != null) { 147 selectionModel.removeIndexInterval(columnIndex,columnIndex); 196 boolean selected = selectionModel.isSelectedIndex(columnIndex); 197 selectionModel.removeIndexInterval(columnIndex,columnIndex); 200 selectionModel.insertIndexInterval(newIndex, 1, true); 202 selectionModel.addSelectionInterval(newIndex, newIndex); 205 selectionModel.removeSelectionInterval(newIndex, newIndex); 376 ListSelectionModel oldModel = selectionModel; 383 selectionModel [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/ |
H A D | JMenuBar.java | 96 private transient SingleSelectionModel selectionModel; field in class:JMenuBar 168 return selectionModel; 181 SingleSelectionModel oldValue = selectionModel; 182 this.selectionModel = model; 183 firePropertyChange("selectionModel", oldValue, selectionModel); 297 return selectionModel.isSelected(); 737 if (selectionModel instanceof Serializable) { 738 kvData[n++] = "selectionModel"; 739 kvData[n++] = selectionModel; [all...] |
H A D | JColorChooser.java | 94 private ColorSelectionModel selectionModel; field in class:JColorChooser 105 public static final String SELECTION_MODEL_PROPERTY = "selectionModel"; 213 selectionModel = model; 272 return selectionModel.getSelectedColor(); 287 selectionModel.setSelectedColor(color); 495 return selectionModel; 510 ColorSelectionModel oldModel = selectionModel; 511 selectionModel = newModel;
|
H A D | JTree.java | 161 transient protected TreeSelectionModel selectionModel; field in class:JTree 474 /** Bound property name for selectionModel. */ 475 public final static String SELECTION_MODEL_PROPERTY = "selectionModel"; 662 selectionModel = new DefaultTreeSelectionModel(); 1866 return selectionModel.getSelectionCount(); 2418 * <code>selectionModel</code> is used, which does not allow selections. 2422 * @param selectionModel the <code>TreeSelectionModel</code> to use, 2429 public void setSelectionModel(TreeSelectionModel selectionModel) { argument 2430 if(selectionModel == null) 2431 selectionModel [all...] |
H A D | JTable.java | 287 protected ListSelectionModel selectionModel; field in class:JTable 2086 selModel = selectionModel; 2116 selectionModel.clearSelection(); 2121 selectionModel.setValueIsAdjusting(true); 2126 selectionModel.setAnchorSelectionIndex(-1); 2127 selectionModel.setLeadSelectionIndex(-1); 2131 selectionModel.setValueIsAdjusting(false); 2165 selectionModel.setSelectionInterval(boundRow(index0), boundRow(index1)); 2192 selectionModel.addSelectionInterval(boundRow(index0), boundRow(index1)); 2219 selectionModel [all...] |
H A D | JList.java | 323 private ListSelectionModel selectionModel; field in class:JList 432 selectionModel = createSelectionModel(); 1761 return selectionModel; 1805 * the selectionModel to the JList ListSelectionListeners. The 1807 * source is the JList instead of the selectionModel itself. 1869 * Sets the <code>selectionModel</code> for the list to a 1877 * @param selectionModel the <code>ListSelectionModel</code> that 1879 * @exception IllegalArgumentException if <code>selectionModel</code> 1886 public void setSelectionModel(ListSelectionModel selectionModel) { argument 1887 if (selectionModel [all...] |
H A D | JPopupMenu.java | 127 private SingleSelectionModel selectionModel; field in class:JPopupMenu 263 * @return the <code>selectionModel</code> property 267 return selectionModel; 280 selectionModel = model;
|
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/ |
H A D | BasicListUI.java | 689 * selectionModel. This method is called at installUI() time. 723 ListSelectionModel selectionModel = list.getSelectionModel(); 724 if (selectionModel != null) { 725 selectionModel.addListSelectionListener(listSelectionListener); 732 * selectionModel. All of the listener fields, are reset to 752 ListSelectionModel selectionModel = list.getSelectionModel(); 753 if (selectionModel != null) { 754 selectionModel.removeListSelectionListener(listSelectionListener); 1587 * model at installUI time, and whenever the JList.selectionModel property 1614 * the JLists by selectionModel a [all...] |
Completed in 647 milliseconds