Searched refs:SynthConstants (Results 1 - 20 of 20) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DState.java30 import javax.swing.plaf.synth.SynthConstants;
75 static final State Enabled = new StandardState(SynthConstants.ENABLED);
76 static final State MouseOver = new StandardState(SynthConstants.MOUSE_OVER);
77 static final State Pressed = new StandardState(SynthConstants.PRESSED);
78 static final State Disabled = new StandardState(SynthConstants.DISABLED);
79 static final State Focused = new StandardState(SynthConstants.FOCUSED);
80 static final State Selected = new StandardState(SynthConstants.SELECTED);
81 static final State Default = new StandardState(SynthConstants.DEFAULT);
110 * correlate to the states defined in SynthConstants. When a UI delegate
112 * in according to the states defined in SynthConstants
[all...]
H A DNimbusStyle.java34 import static javax.swing.plaf.synth.SynthConstants.*;
H A DSynthPainterImpl.java35 import javax.swing.plaf.synth.SynthConstants;
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthConstants.java39 public interface SynthConstants { interface
H A DSynthUI.java36 public interface SynthUI extends SynthConstants {
H A DSynthButtonUI.java77 SynthContext context = getContext(b, SynthConstants.ENABLED);
156 return SynthLookAndFeel.getSelectedUIState() | SynthConstants.ENABLED;
391 defaultIcon = getSynthIcon(b, SynthConstants.ENABLED);
398 SynthConstants.SELECTED);
406 SynthConstants.MOUSE_OVER | SynthConstants.SELECTED);
409 SynthConstants.MOUSE_OVER);
416 SynthConstants.PRESSED);
424 SynthConstants.DISABLED | SynthConstants
[all...]
H A DSynthLookAndFeel.java130 selectedUIState = SynthConstants.SELECTED;
132 selectedUIState |= SynthConstants.FOCUSED;
137 SynthConstants.MOUSE_OVER | SynthConstants.ENABLED;
139 selectedUIState |= SynthConstants.FOCUSED;
144 selectedUIState |= SynthConstants.ENABLED;
146 selectedUIState |= SynthConstants.FOCUSED;
150 selectedUIState |= SynthConstants.DISABLED;
968 state ^= SynthConstants.FOCUSED;
973 state ^= SynthConstants
[all...]
H A DSynthTabbedPaneUI.java520 ss.setComponentState(SynthConstants.ENABLED);
841 state |= SynthConstants.DISABLED;
843 state |= SynthConstants.SELECTED;
847 state |= (SynthConstants.ENABLED | SynthConstants.SELECTED);
849 state |= SynthConstants.MOUSE_OVER;
853 state |= (SynthConstants.ENABLED | SynthConstants.MOUSE_OVER);
857 state &= ~SynthConstants.FOCUSED; // don't use tabbedpane focus state
860 state |= SynthConstants
[all...]
H A DSynthLabelUI.java101 state == SynthConstants.ENABLED) {
102 state = SynthLookAndFeel.getSelectedUIState() | SynthConstants.ENABLED;
H A DSynthParser.java465 state |= SynthConstants.ENABLED;
468 state |= SynthConstants.MOUSE_OVER;
471 state |= SynthConstants.PRESSED;
474 state |= SynthConstants.DISABLED;
477 state |= SynthConstants.FOCUSED;
480 state |= SynthConstants.SELECTED;
483 state |= SynthConstants.DEFAULT;
H A DSynthStyle.java762 if ((context.getComponentState() & SynthConstants.DISABLED) != 0) {
839 if (context.getComponentState() == SynthConstants.ENABLED) {
H A DSynthTreeUI.java602 paintContext.setComponentState(state | SynthConstants.SELECTED);
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKLookAndFeel.java184 case SynthConstants.PRESSED:
187 case SynthConstants.MOUSE_OVER:
190 case SynthConstants.SELECTED:
193 case SynthConstants.DISABLED:
196 case SynthConstants.ENABLED:
209 * <tr><td>SynthConstants.PRESSED<td>ACTIVE
210 * <tr><td>SynthConstants.SELECTED<td>SELECTED
211 * <tr><td>SynthConstants.MOUSE_OVER<td>PRELIGHT
212 * <tr><td>SynthConstants.DISABLED<td>INSENSITIVE
213 * <tr><td>SynthConstants
[all...]
H A DGTKGraphicsUtils.java50 if ((componentState & SynthConstants.DISABLED) ==
51 SynthConstants.DISABLED){
100 (context.getComponentState() & SynthConstants.FOCUSED) != 0)
138 return((gtkState == SynthConstants.MOUSE_OVER) &&
H A DGTKPainter.java134 ENGINE.paintBox(g, context, id, SynthConstants.ENABLED,
172 if (gtkState == SynthConstants.MOUSE_OVER) {
177 SynthConstants.MOUSE_OVER, ShadowType.ETCHED_OUT,
195 if (gtkState == SynthConstants.MOUSE_OVER) {
305 if (paintBackground && (state & SynthConstants.DEFAULT) != 0) {
306 ENGINE.paintBox(g, context, id, SynthConstants.ENABLED,
328 (state & SynthConstants.FOCUSED) == SynthConstants.FOCUSED) {
341 (gtkState != SynthConstants.ENABLED) &&
342 (gtkState != SynthConstants
[all...]
H A DGTKStyle.java174 if (state == SynthConstants.PRESSED) {
175 state = SynthConstants.SELECTED;
219 (state & SynthConstants.ENABLED) != 0) {
260 if (!id.isSubregion() && (state & SynthConstants.ENABLED) != 0) {
H A DGTKIconFactory.java293 style, SynthConstants.ENABLED);
H A DMetacity.java51 class Metacity implements SynthConstants {
/openjdk7/jdk/test/javax/swing/plaf/synth/7143614/
H A Dbug7143614.java35 import javax.swing.plaf.synth.SynthConstants;
76 (SynthConstants.SELECTED | SynthConstants.FOCUSED)) {
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DDefaultSynthStyle.java142 if (!id.isSubregion() && state == SynthConstants.ENABLED) {
223 if (!id.isSubregion() && state == SynthConstants.ENABLED) {
870 * @see SynthConstants
880 * @see SynthConstants

Completed in 1619 milliseconds