| java.lang.Object javax.swing.plaf.synth.SynthStyleFactory javax.swing.plaf.synth.DefaultSynthStyleFactory
DefaultSynthStyleFactory | class DefaultSynthStyleFactory extends SynthStyleFactory (Code) | | Factory used for obtaining styles. Supports associating a style based on
the name of the component as returned by Component.getName() ,
and the Region associated with the JComponent .
Lookup is done using regular expressions.
version: 1.15, 05/05/07 author: Scott Violet |
Field Summary | |
final public static int | NAME Used to indicate the lookup should be done based on Component name. | final public static int | REGION Used to indicate the lookup should be done based on region. |
NAME | final public static int NAME(Code) | | Used to indicate the lookup should be done based on Component name.
|
REGION | final public static int REGION(Code) | | Used to indicate the lookup should be done based on region.
|
DefaultSynthStyleFactory | DefaultSynthStyleFactory()(Code) | | |
getStyle | public synchronized SynthStyle getStyle(JComponent c, Region id)(Code) | | Returns the style for the specified Component.
Parameters: c - Component asking for Parameters: id - ID of the Component |
|
|