org.apache.myfaces.tobago.component
Class UIStyle
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.apache.myfaces.tobago.component.UIStyle
- All Implemented Interfaces:
- StateHolder
public class UIStyle
- extends UIComponentBase
Add a style tag.
Collected bodyContent is rendered as content into a style tag.
UIComponent class, generated from template component1.2.stg
with class
org.apache.myfaces.tobago.internal.taglib.component.StyleTagDeclaration
.
Methods inherited from class javax.faces.component.UIComponentBase |
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_TYPE
public static final String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final String COMPONENT_FAMILY
- See Also:
- Constant Field Values
UIStyle
public UIStyle()
getFamily
public String getFamily()
- Specified by:
getFamily
in class UIComponent
getStyle
public String getStyle()
- stylesheet to add to page.
setStyle
public void setStyle(String style)
getFile
public String getFile()
- Name of the stylesheet file to add to page.
setFile
public void setFile(String file)
restoreState
public void restoreState(FacesContext context,
Object componentState)
- Specified by:
restoreState
in interface StateHolder
- Overrides:
restoreState
in class UIComponentBase
saveState
public Object saveState(FacesContext context)
- Specified by:
saveState
in interface StateHolder
- Overrides:
saveState
in class UIComponentBase
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.