javax.faces.component
Class UIGraphic
java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIGraphic
- All Implemented Interfaces:
- java.util.EventListener, PartialStateHolder, StateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder
- Direct Known Subclasses:
- HtmlGraphicImage
@JSFComponent(defaultRendererType="javax.faces.Image")
public class UIGraphic
- extends UIComponentBase
Displays a graphical image.
See the javadoc for this class in the
JSF Specification
for further details.
Constructor Summary |
UIGraphic()
Construct an instance of the UIGraphic. |
Method Summary |
java.lang.String |
getFamily()
|
java.lang.String |
getUrl()
An alias for the "value" attribute. |
java.lang.Object |
getValue()
The URL of the image. |
javax.el.ValueExpression |
getValueExpression(java.lang.String name)
|
void |
setUrl(java.lang.String url)
|
void |
setValue(java.lang.Object value)
|
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
|
Methods inherited from class javax.faces.component.UIComponentBase |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent, visitTree |
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
UIGraphic
public UIGraphic()
- Construct an instance of the UIGraphic.
getFamily
public java.lang.String getFamily()
- Specified by:
getFamily
in class UIComponent
getUrl
@JSFProperty
public java.lang.String getUrl()
- An alias for the "value" attribute.
setUrl
public void setUrl(java.lang.String url)
getValueExpression
public javax.el.ValueExpression getValueExpression(java.lang.String name)
- Overrides:
getValueExpression
in class UIComponent
setValueExpression
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
- Overrides:
setValueExpression
in class UIComponent
getValue
@JSFProperty
public java.lang.Object getValue()
- The URL of the image.
If the URL starts with a '/', it is relative to the context path of the web application.
setValue
public void setValue(java.lang.Object value)
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.