@Generated(value="component.stg") public class UIImage extends AbstractUIImage implements javax.faces.component.behavior.ClientBehaviorHolder
component.stg
with class
ImageTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIImage() |
Modifier and Type | Method and Description |
---|---|
String |
getAlt()
Alternate textual description of the image rendered by this component.
|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
Markup |
getMarkup() |
String |
getTip()
Text value to display as tooltip.
|
boolean |
isDisabled()
Flag indicating that this element is disabled.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
void |
setAlt(String alt) |
void |
setCustomClass(CustomClass customClass) |
void |
setDisabled(boolean disabled) |
void |
setMarkup(Markup markup) |
void |
setTip(String tip) |
getUrl, getValue, getValueExpression, setUrl, setValue, setValueExpression
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, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientBehavior, getClientBehaviors, getDefaultEventName, getEventNames
getRendererType, isPlain
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIGraphic
public String getAlt()
getAlt
in class AbstractUIImage
public void setAlt(String alt)
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
getCustomClass
in interface Visual
public void setCustomClass(CustomClass customClass)
setCustomClass
in interface Visual
public String getTip()
public void setTip(String tip)
public boolean isDisabled()
false
isDisabled
in class AbstractUIImage
public void setDisabled(boolean disabled)
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.