org.apache.myfaces.custom.stylesheet
Class Stylesheet
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIOutput
org.apache.myfaces.custom.stylesheet.Stylesheet
- All Implemented Interfaces:
- javax.faces.component.StateHolder, javax.faces.component.ValueHolder
public class Stylesheet
- extends javax.faces.component.UIOutput
- Version:
- $Revision: 499303 $ $Date: 2007-01-24 09:03:47 +0100 (Mi, 24 Jan 2007) $
- Author:
- mwessendorf (latest modification by $Author: imario $)
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, 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 java.lang.String COMPONENT_TYPE
- See Also:
- Constant Field Values
COMPONENT_FAMILY
public static final java.lang.String COMPONENT_FAMILY
- See Also:
- Constant Field Values
Stylesheet
public Stylesheet()
getFamily
public java.lang.String getFamily()
- Overrides:
getFamily
in class javax.faces.component.UIOutput
getPath
public java.lang.String getPath()
setPath
public void setPath(java.lang.String path)
isInline
public boolean isInline()
- Returns:
- true if the styles are inlined to the jsp file
setInline
public void setInline(boolean inline)
- Parameters:
inline
- if true, the css-file is inlined to the jsp file. Default is false.
isFiltered
public boolean isFiltered()
- Returns:
- true if the stylesheet should be filtered before sending to the browser
setFiltered
public void setFiltered(boolean filtered)
- Parameters:
filtered
- filter stylesheet if true
getMedia
public java.lang.String getMedia()
setMedia
public void setMedia(java.lang.String media)
setEnabledOnUserRole
public void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
getEnabledOnUserRole
public java.lang.String getEnabledOnUserRole()
setVisibleOnUserRole
public void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
getVisibleOnUserRole
public java.lang.String getVisibleOnUserRole()
isRendered
public boolean isRendered()
- Overrides:
isRendered
in class javax.faces.component.UIComponentBase
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
- Overrides:
restoreState
in class javax.faces.component.UIOutput
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
- Overrides:
saveState
in class javax.faces.component.UIOutput
Copyright © 2009. All Rights Reserved.