| java.lang.Object org.wings.plaf.CGManager
CGManager | public class CGManager implements Serializable(Code) | | The CGManager holds a reference to the current laf.
It delegates to a session related CGDefaults table, that is backed by
the laf's defaults.
|
getCG | public ComponentCG getCG(SComponent target)(Code) | | Get a ComponentCG from the defaults table.
If the there's no value associated to the target 's cgClassID, the request
is delegated to the laf's defaults table.
Parameters: target - the SComponent |
getCG | public ComponentCG getCG(Class targetClass)(Code) | | Get a ComponentCG from the defaults table.
If the there's no value associated to the target 's cgClassID, the request
is delegated to the laf's defaults table.
Parameters: targetClass - the SComponent class |
getCG | public ComponentCG getCG(String cgClassID)(Code) | | Get a ComponentCG from the defaults table.
If the there's no value associated to the target 's cgClassID, the request
is delegated to the laf's defaults table.
Parameters: cgClassID - the cg class id |
getCG | public LayoutCG getCG(SLayoutManager target)(Code) | | Get a LayoutManagerCG from the defaults table.
If the there's no value associated to the target 's cgClassID, the request
is delegated to the laf's defaults table.
Parameters: target - the SLayoutManager |
getIcon | public SIcon getIcon(String key)(Code) | | Get a Icon from the defaults table.
If the there's no value associated to the key , the request
is delegated to the laf's defaults table.
Parameters: key - the lookup key |
getObject | public Object getObject(String key, Class clazz)(Code) | | Get an Object from the defaults table.
If the there's no value associated to the key , the request
is delegated to the laf's defaults table.
Parameters: key - the lookup key Parameters: clazz - the class of the object in question |
getStyle | public Style getStyle(String key)(Code) | | Get a Style from the defaults table.
If the there's no value associated to the key , the request
is delegated to the laf's defaults table.
Parameters: key - the lookup key |
getStyleSheet | public StyleSheet getStyleSheet(String key)(Code) | | Get a StyleSheet from the defaults table.
If the there's no value associated to the key , the request
is delegated to the laf's defaults table.
Parameters: key - the lookup key |
setDefaults | public void setDefaults(ResourceDefaults defaults)(Code) | | Set the defaults table.
Parameters: defaults - the defaults table |
setLookAndFeel | public void setLookAndFeel(LookAndFeel newLookAndFeel)(Code) | | Set the current default look and feel using a LookAndFeel object.
Parameters: newLookAndFeel - the LookAndFeel object See Also: CGManager.getLookAndFeel |
|
|