Searched refs:isSelected (Results 1 - 25 of 158) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/javax/swing/
H A DRenderer.java42 * @param isSelected a boolean
44 void setValue(Object aValue,boolean isSelected); argument
H A DListCellRenderer.java45 * boolean isSelected,
63 * } else if (isSelected) {
102 * @param isSelected True if the specified cell was selected.
114 boolean isSelected,
110 getListCellRendererComponent( JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus) argument
H A DSingleSelectionModel.java64 public boolean isSelected(); method in interface:SingleSelectionModel
H A DJToggleButton.java236 public boolean isSelected() { method in class:JToggleButton.ToggleButtonModel
238 // return getGroup().isSelected(this);
255 b = group.isSelected(this);
258 if (isSelected() == b) {
276 this.isSelected() ? ItemEvent.SELECTED : ItemEvent.DESELECTED));
289 setSelected(!this.isSelected());
402 if (tb.isSelected()) {
H A DButtonModel.java94 boolean isSelected(); method in interface:ButtonModel
H A DButtonGroup.java93 if (b.isSelected()) {
173 public boolean isSelected(ButtonModel m) { method in class:ButtonGroup
H A DDefaultCellEditor.java120 return Boolean.valueOf(checkBox.isSelected());
251 boolean isSelected,
254 String stringValue = tree.convertValueToText(value, isSelected,
266 boolean isSelected,
278 isSelected, true, row, column);
250 getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) argument
265 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument
H A DDefaultListCellRenderer.java117 boolean isSelected,
133 isSelected = true;
136 if (isSelected) {
159 if (isSelected) {
113 getListCellRendererComponent( JList<?> list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DTableCellRenderer.java63 * <code>isSelected</code> and <code>hasFocus</code> values of
79 * @param isSelected true if the cell is to be rendered with the
92 boolean isSelected, boolean hasFocus,
91 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
H A DTableCellEditor.java63 * @param isSelected true if the cell is to be rendered with
70 boolean isSelected,
69 getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) argument
H A DDefaultTableCellRenderer.java171 * <code>isSelected</code> and <code>hasFocus</code> values of
180 * @param isSelected true if cell is selected
188 boolean isSelected, boolean hasFocus, int row, int column) {
206 isSelected = true;
209 if (isSelected) {
234 if (isSelected) {
242 if (!isSelected && table.isCellEditable(row, column)) {
187 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/table/
H A DLongCellRenderer.java41 boolean isSelected, boolean hasFocus,
49 textField.setForeground(isSelected ? table.getSelectionForeground() :
51 textField.setBackground(isSelected ? table.getSelectionBackground() :
40 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreeCellEditor.java55 * @param isSelected true if the cell is to be rendered with
63 boolean isSelected, boolean expanded,
62 getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) argument
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/FilterWindow/src/com/sun/hotspot/igv/filterwindow/
H A DCheckRenderer.java57 node.setSelected(!node.isSelected());
68 public Component getListCellRendererComponent(final JList list, Object value, final int index, boolean isSelected, boolean cellHasFocus) { argument
71 this.setSelected(node.isSelected());
74 if (isSelected && list.hasFocus()) {
77 } else if (isSelected) {
/openjdk7/jdk/test/javax/swing/JComboBox/7082443/
H A Dbug7082443.java65 boolean isSelected, boolean cellHasFocus) {
67 isSelected, cellHasFocus);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4222508.java54 this.chooser.setEnabled(this.checkbox.isSelected());
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicComboBoxRenderer.java94 boolean isSelected,
98 /**if (isSelected) {
106 if (isSelected) {
90 getListCellRendererComponent( JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
H A DBasicIconFactory.java162 boolean isSelected = model.isSelected();
163 if (isSelected) {
184 if (b.isSelected() == true) {
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsDesktopManager.java89 if (currentFrame.isSelected()) {
94 if (!f.isSelected()) {
H A DWindowsMenuUI.java64 if (model.isArmed() || model.isSelected()) {
78 if (((JMenuItem) menuElement).isSelected()) {
143 (XPStyle.getXP() != null && (model.isArmed() || model.isSelected()))) {
161 if (model.isArmed() || model.isSelected()) {
175 if (((JMenuItem)menus[i]).isSelected()) {
224 if (((JMenuItem)menus[i]).isSelected()) {
231 if ((model.isSelected() && (WindowsLookAndFeel.isClassicWindows() ||
235 model.isSelected()))) {
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DBlockWidget.java152 if (previousState.isSelected() != state.isSelected()) {
153 if (state.isSelected()) {
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxRenderer.java82 public Component getListCellRendererComponent(final JList list, final Object value, int index, final boolean isSelected, final boolean cellHasFocus) { argument
84 fSelected = isSelected;
106 if (isSelected) {
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/
H A DStateChangeAction.java51 public boolean isSelected() method in class:StateChangeAction
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthListUI.java212 int index, boolean isSelected, boolean cellHasFocus) {
213 if (!useListColors && (isSelected || cellHasFocus)) {
216 isSelected, cellHasFocus, list.isEnabled(), false);
223 isSelected, cellHasFocus);
211 getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) argument
H A DSynthTableHeaderUI.java227 boolean isSelected,
232 if (isSelected || hasRollover || hasFocus) {
235 isSelected, hasFocus, table.isEnabled(),
264 super.getTableCellRendererComponent(table, value, isSelected,
226 getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) argument

Completed in 58 milliseconds

1234567