org.apache.myfaces.custom.stylesheet
Class Stylesheet

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by 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 $)

Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
 
Constructor Summary
Stylesheet()
           
 
Method Summary
 java.lang.String getEnabledOnUserRole()
           
 java.lang.String getFamily()
           
 java.lang.String getMedia()
           
 java.lang.String getPath()
           
 java.lang.String getVisibleOnUserRole()
           
 boolean isFiltered()
           
 boolean isInline()
           
 boolean isRendered()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setEnabledOnUserRole(java.lang.String enabledOnUserRole)
           
 void setFiltered(boolean filtered)
           
 void setInline(boolean inline)
           
 void setMedia(java.lang.String media)
           
 void setPath(java.lang.String path)
           
 void setVisibleOnUserRole(java.lang.String visibleOnUserRole)
           
 
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
 

Field Detail

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
Constructor Detail

Stylesheet

public Stylesheet()
Method Detail

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 © 2011. All Rights Reserved.