| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.apache.struts.faces.component.StylesheetComponent
public class StylesheetComponent
Custom component that replaces the Struts
 <html:stylesheet> tag.
| Field Summary | 
|---|
| Fields inherited from class javax.faces.component.UIOutput | 
|---|
COMPONENT_FAMILY, COMPONENT_TYPE | 
| Constructor Summary | |
|---|---|
StylesheetComponent()
Create a new StylesheetComponent with default properties. | 
|
| Method Summary | |
|---|---|
 String | 
getFamily()
Return the component family to which this component belongs.  | 
 String | 
getPath()
Return the context-relative stylesheet path.  | 
 void | 
restoreState(javax.faces.context.FacesContext context,
             Object state)
Restore the state of this component.  | 
 Object | 
saveState(javax.faces.context.FacesContext context)
Save the state of this component.  | 
 void | 
setPath(String path)
Set the context-relative stylesheet path.  | 
| Methods inherited from class javax.faces.component.UIOutput | 
|---|
getConverter, getLocalValue, getValue, setConverter, setValue | 
| Methods inherited from class javax.faces.component.UIComponentBase | 
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, 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 | 
| Constructor Detail | 
|---|
public StylesheetComponent()
Create a new StylesheetComponent with default properties.
| Method Detail | 
|---|
public String getFamily()
Return the component family to which this component belongs.
getFamily in class javax.faces.component.UIOutputpublic String getPath()
Return the context-relative stylesheet path.
public void setPath(String path)
Set the context-relative stylesheet path.
path - The new path
public void restoreState(javax.faces.context.FacesContext context,
                         Object state)
Restore the state of this component.
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UIOutputcontext - FacesContext for the current requeststate - State object from which to restore our statepublic Object saveState(javax.faces.context.FacesContext context)
Save the state of this component.
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UIOutputcontext - FacesContext for the current request
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||