com.ibm.xsp.stylekit
Interface StyleKit


public interface StyleKit

Interface that supports default styling behaviour.


Method Summary
 void applyStyle(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Set the style properties and attributes for the specified single component.
 void applyStyles(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Set the style properties and attributes for the specified component hierarchy.
 java.lang.String getName()
          Return the theme ID or name, like "webstandard" or "oneui".
 java.lang.String getProperty(java.lang.String name)
          Return the value of a property defined in the Theme.
 java.util.List<Resource> getResources()
          Return a list of default resources used by this style kit.
 boolean isEmpty()
          Check if this is an empty style kit.
 

Method Detail

isEmpty

boolean isEmpty()
Check if this is an empty style kit. This allows optimization when the page is rendered.


getName

java.lang.String getName()
Return the theme ID or name, like "webstandard" or "oneui".


applyStyles

void applyStyles(javax.faces.context.FacesContext context,
                 javax.faces.component.UIComponent component)
Set the style properties and attributes for the specified component hierarchy.


applyStyle

void applyStyle(javax.faces.context.FacesContext context,
                javax.faces.component.UIComponent component)
Set the style properties and attributes for the specified single component.


getResources

java.util.List<Resource> getResources()
Return a list of default resources used by this style kit.


getProperty

java.lang.String getProperty(java.lang.String name)
Return the value of a property defined in the Theme.