@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.
|
ValueBinding |
getValueBinding(String name)
Deprecated.
Use getValueExpression instead
|
javax.el.ValueExpression |
getValueExpression(String name) |
void |
setUrl(String url) |
void |
setValue(Object value) |
void |
setValueBinding(String name,
ValueBinding binding)
Deprecated.
Use setValueExpression instead
|
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, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, 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 ValueBinding getValueBinding(String name)
UIComponentBase
Value-bindings are stored in a map associated with the component, though there is commonly a property (setter/getter methods) of the same name defined on the component itself which evaluates the value-binding when called.
getValueBinding
in class UIComponentBase
public void setValueBinding(String name, ValueBinding binding)
UIComponentBase
setValueBinding
in class UIComponentBase
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 © 2019 The Apache Software Foundation. All rights reserved.