|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 |
---|
getValue |
Methods inherited from class javax.faces.component.UISelectItem |
---|
getItemDescription, getItemLabel, getItemValue, isItemDisabled, isItemEscaped, setItemDescription, setItemDisabled, setItemEscaped, setItemLabel, setItemValue, 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 UIEnumItem
enumValue
- - new valuepublic java.lang.String getEnumValue()
getEnumValue
in class UIEnumItem
public void setLabel(java.lang.String __label)
setLabel
in class UIEnumItem
label
- - new valuepublic java.lang.String getLabel()
getLabel
in class UIEnumItem
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UISelectItem
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UISelectItem
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UISelectItem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |