| java.lang.Object com.salmonllc.personalization.Skin
Skin | public class Skin (Code) | | A skin is a collection of attributes that are applied to the components of a page to create a personalized look
|
applyAttributes | public void applyAttributes(Object o)(Code) | | Apply class and instance attributes of the skin to the object
|
getAllAttributes | public Attribute[] getAllAttributes()(Code) | | Return all attributes in the component. Class attributes are preceeded with "class." and instance attributes are preceeded with "instance."
|
getClassAttribute | public String getClassAttribute(String className, String attributeName)(Code) | | Gets the value of a class attribute in the Skin
Parameters: className - The name of the class Parameters: attributeName - The name of the attribute in the class to set |
getClassAttributes | public Attribute[] getClassAttributes(String className)(Code) | | Gets all the attributes for a particular class in the skin
|
getInstanceAttribute | public String getInstanceAttribute(String instanceName, String attributeName)(Code) | | Gets the value of an instance attribute in the Skin
Parameters: instanceName - The name of the class. It may contain a % sign in the first or last character to indicate a wild card. Parameters: attributeName - The name of the attribute in the class to set |
getInstanceAttributes | public Attribute[] getInstanceAttributes(String instanceName)(Code) | | Gets all the attributes for a particular class in the skin
|
getProperties | public Properties getProperties()(Code) | | Returns the properties object used by this skin
|
getSwingLookAndFeel | public String getSwingLookAndFeel()(Code) | | If the skin has a swing look and feel property set, return it otherwise return null
|
getSwingMetalTheme | public String getSwingMetalTheme()(Code) | | If the skin has a swing metal theme property set, return it otherwise return null
|
setClassAttribute | public void setClassAttribute(String className, String attributeName, String attributeValue)(Code) | | Sets a class attribute in the Skin
Parameters: className - The name of the class Parameters: attributeName - The name of the attribute in the class to set Parameters: attributeValue - The value to set the attribute to |
setInstanceAttribute | public void setInstanceAttribute(String instanceName, String attributeName, String attributeValue)(Code) | | Sets an intance attribute in the Skin
Parameters: instanceName - The name of the component. It may contain a % sign in the first or last character to indicate a wild card. Parameters: attributeName - The name of the attribute in the class to set Parameters: attributeValue - The value to set the attribute to |
setProperty | public void setProperty(String key, String value)(Code) | | Adds a property to the properties object for this skin
|
|
|