@Generated(value="component.stg") public class UISelectItem extends AbstractUISelectItem
component.stg
with class
SelectItemTagDeclaration
.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UISelectItem() |
Modifier and Type | Method and Description |
---|---|
CustomClass |
getCustomClass()
Sets a CSS class in its parent, if the parent supports it.
|
String |
getFamily() |
String |
getItemImage()
Image to be displayed to the user for this option.
|
Markup |
getMarkup() |
String |
getTip()
Text value to display as tooltip.
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state) |
void |
setCustomClass(CustomClass customClass) |
void |
setItemImage(String itemImage) |
void |
setMarkup(Markup markup) |
void |
setTip(String tip) |
getItemValue, setItemValue
getFacesContext, getItemDescription, getItemLabel, getValue, isItemDisabled, isItemEscaped, isNoSelectionOption, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setNoSelectionOption, setRendered, setValue
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRendererType, isPlain
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UISelectItem
public Markup getMarkup()
public void setMarkup(Markup markup)
public CustomClass getCustomClass()
<tc:in> <tc:style customClass="my-emphasized"/> </tc:in>One capability is, to used external CSS libs.
public void setCustomClass(CustomClass customClass)
public String getTip()
public void setTip(String tip)
public String getItemImage()
public void setItemImage(String itemImage)
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–2018 The Apache Software Foundation. All rights reserved.