|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UISelectItem
org.jboss.seam.ui.component.UIEnumItem
org.jboss.seam.ui.component.html.HtmlEnumItem
public class HtmlEnumItem
Component-Type org.jboss.seam.ui.EnumItem Component-Family org.jboss.seam.ui.EnumItem Creates a SelectItem from an enum value.
| Field Summary | |
|---|---|
static java.lang.String |
COMPONENT_FAMILY
|
static java.lang.String |
COMPONENT_TYPE
|
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
HtmlEnumItem()
Constructor to init default renderers |
|
| Method Summary | |
|---|---|
java.lang.String |
getEnumValue()
the string representation of the enum value. |
java.lang.String |
getFamily()
|
java.lang.String |
getLabel()
the label to be used when rendering the SelectItem. |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setEnumValue(java.lang.String __enumValue)
the string representation of the enum value. |
void |
setLabel(java.lang.String __label)
the label to be used when rendering the SelectItem. |
| Methods inherited from class org.jboss.seam.ui.component.UIEnumItem |
|---|
getItemLabel, getItemValue, getValue, setItemLabel, setItemValue |
| Methods inherited from class javax.faces.component.UISelectItem |
|---|
getItemDescription, isItemDisabled, isItemEscaped, setItemDescription, setItemDisabled, setItemEscaped, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String COMPONENT_TYPE
public static final java.lang.String COMPONENT_FAMILY
| Constructor Detail |
|---|
public HtmlEnumItem()
| Method Detail |
|---|
public void setEnumValue(java.lang.String __enumValue)
setEnumValue in class UIEnumItemenumValue - - new valuepublic java.lang.String getEnumValue()
getEnumValue in class UIEnumItempublic void setLabel(java.lang.String __label)
setLabel in class UIEnumItemlabel - - new valuepublic java.lang.String getLabel()
getLabel in class UIEnumItempublic java.lang.String getFamily()
getFamily in class javax.faces.component.UISelectItempublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UISelectItem
public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UISelectItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||