@JSFComponent(defaultRendererType="javax.faces.Image") public class UIGraphic extends UIComponentBase
See the javadoc for this class in the JSF Specification for further details.
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
Constructor and Description |
---|
UIGraphic()
Construct an instance of the UIGraphic.
|
Modifier and Type | Method and Description |
---|---|
String |
getFamily() |
String |
getUrl()
An alias for the "value" attribute.
|
Object |
getValue()
The URL of the image.
|
javax.el.ValueExpression |
getValueExpression(String name) |
void |
setUrl(String url) |
void |
setValue(Object value) |
void |
setValueExpression(String name,
javax.el.ValueExpression binding) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEvent
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class UIComponent
@JSFProperty public String getUrl()
public void setUrl(String url)
public javax.el.ValueExpression getValueExpression(String name)
getValueExpression
in class UIComponent
public void setValueExpression(String name, javax.el.ValueExpression binding)
setValueExpression
in class UIComponent
@JSFProperty public Object getValue()
If the URL starts with a '/', it is relative to the context path of the web application.
public void setValue(Object value)
Copyright © 2020 The Apache Software Foundation. All rights reserved.