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 Jän 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()
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()
restoreState
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
saveState
public java.lang.Object saveState(javax.faces.context.FacesContext context)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.