public class UIGraphic extends UIComponentBase
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
bindings
Constructor and Description |
---|
UIGraphic()
Construct an instance of the UIGraphic.
|
Modifier and Type | Method and Description |
---|---|
String |
getFamily() |
String |
getUrl() |
Object |
getValue()
Gets The value property of the UIGraphic
|
javax.el.ValueExpression |
getValueExpression(String name) |
void |
restoreState(FacesContext facesContext,
Object state)
Invoked in the "restore view" phase, this initialises this
object's members from the values saved previously into the
provided state object.
|
Object |
saveState(FacesContext facesContext)
Invoked after the render phase has completed, this method
returns an object which can be passed to the restoreState
of some other instance of UIComponentBase to reset that
object's state to the same values as this object currently
has.
|
void |
setUrl(String url) |
void |
setValue(Object value)
Sets The value property of the UIGraphic
|
void |
setValueExpression(String name,
javax.el.ValueExpression binding) |
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
encodeAll, getContainerClientId
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public void setUrl(String url)
public String getUrl()
public javax.el.ValueExpression getValueExpression(String name)
getValueExpression
in class UIComponent
public void setValueExpression(String name, javax.el.ValueExpression binding)
setValueExpression
in class UIComponent
public Object getValue()
public void setValue(Object value)
value
- the new value valuepublic Object saveState(FacesContext facesContext)
UIComponentBase
saveState
in interface StateHolder
saveState
in class UIComponentBase
public void restoreState(FacesContext facesContext, Object state)
UIComponentBase
restoreState
in interface StateHolder
restoreState
in class UIComponentBase
state
- is an object previously returned by
the saveState method of this class.public String getFamily()
getFamily
in class UIComponent
Copyright © 2013 Apache Software Foundation. All Rights Reserved.