Searched defs:getColorForState (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DSynthStyle.java750 * or not used, this will invoke <code>getColorForState</code>. Subclasses
752 * {@link #getColorForState}.
774 return getColorForState(context, type);
779 return getColorForState(context, type);
800 color = getColorForState(context, type);
825 protected abstract Color getColorForState(SynthContext context, method in class:SynthStyle
937 c.setBackground(getColorForState(context,
942 c.setForeground(getColorForState(context,
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DNimbusStyle.java139 * <p>The Color to return from getColorForState if it would otherwise have
142 * <p>Returning null from getColorForState is a very bad thing, as it causes
145 * getColorForState, then thereafter the color is not updated for other
148 * getColorForState.</p>
540 @Override protected Color getColorForState(SynthContext ctx, ColorType type) { method in class:NimbusStyle
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DDefaultSynthStyle.java161 Color color = getColorForState(c, id, state, type);
176 protected Color getColorForState(SynthContext context, ColorType type) { method in class:DefaultSynthStyle
177 return getColorForState(context.getComponent(), context.getRegion(),
190 protected Color getColorForState(JComponent c, Region id, int state, method in class:DefaultSynthStyle
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKStyle.java142 protected Color getColorForState(SynthContext context, ColorType type) { method in class:GTKStyle
278 return getColorForState(context, type);
761 return getColorForState(context, ColorType.FOREGROUND);

Completed in 76 milliseconds