| java.lang.Object javax.swing.plaf.synth.SynthStyle
All known Subclasses: javax.swing.plaf.synth.XMLSynthStyle,
SynthStyle | abstract public class SynthStyle (Code) | | SynthStyle contains all the information about component drawing
|
Method Summary | |
public Object | get(SynthContext context, Object key) | public boolean | getBoolean(SynthContext context, Object key, boolean defaultValue) | public Color | getColor(SynthContext context, ColorType type) | abstract protected Color | getColorForState(SynthContext context, ColorType type) | public Font | getFont(SynthContext context) | abstract protected Font | getFontForState(SynthContext context) | public SynthGraphicsUtils | getGraphicsUtils(SynthContext context) GraphicsUtils used for specified context. | public Icon | getIcon(SynthContext context, Object key) | public Insets | getInsets(SynthContext context, Insets modified) | public int | getInt(SynthContext context, Object key, int defaultValue) | public SynthPainter | getPainter(SynthContext context) | public String | getString(SynthContext context, Object key, String defaultValue) | public void | installDefaults(SynthContext context) | public boolean | isOpaque(SynthContext context) | public void | uninstallDefaults(SynthContext context) |
NULL_STYLE | final static SynthStyle NULL_STYLE(Code) | | Null style used by StyleFactory to represent styles that not found
|
getBoolean | public boolean getBoolean(SynthContext context, Object key, boolean defaultValue)(Code) | | Returns boolean value from the properties table or the default value
|
getGraphicsUtils | public SynthGraphicsUtils getGraphicsUtils(SynthContext context)(Code) | | GraphicsUtils used for specified context. The defaultimplementation returns default GraphicsUtils for any context. |
getIcon | public Icon getIcon(SynthContext context, Object key)(Code) | | The default implementation just casts Object returned by get(Object, key
method)
|
installDefaults | public void installDefaults(SynthContext context)(Code) | | The default implementation is empty
|
uninstallDefaults | public void uninstallDefaults(SynthContext context)(Code) | | The default implementation is empty
|
|
|