Class SelectItem
java.lang.Object
org.apache.myfaces.tobago.model.SelectItem
- All Implemented Interfaces:
Serializable, Visual
-
Constructor Summary
ConstructorsConstructorDescriptionSelectItem(Object value) SelectItem(Object value, String label) SelectItem(Object value, String label, String tip) SelectItem(Object value, String label, String tip, boolean disabled, boolean escape, boolean noSelectionOption, String image, Markup markup) SelectItem(Object value, String label, String tip, boolean disabled, String image) SelectItem(Object value, String label, String tip, String image) -
Method Summary
Modifier and TypeMethodDescriptiongetImage()getLabel()The renderer is an id that is used by Tobago to gather information about the components which are configured in the theme configuration files.getTip()Alias name for description.getValue()booleanbooleanisEscape()booleanvoidsetCustomClass(CustomClass customClass) voidsetDescription(String arg0) voidsetDisabled(boolean arg0) voidsetEscape(boolean arg0) voidvoidvoidvoidsetNoSelectionOption(boolean arg0) voidAlias name for description.void
-
Constructor Details
-
SelectItem
public SelectItem() -
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
-
SelectItem
-
-
Method Details
-
getTip
Alias name for description. -
setTip
Alias name for description. -
getImage
-
setImage
-
getMarkup
-
setMarkup
-
getCustomClass
- Specified by:
getCustomClassin interfaceVisual
-
setCustomClass
- Specified by:
setCustomClassin interfaceVisual
-
getRendererType
Description copied from interface:VisualThe renderer is an id that is used by Tobago to gather information about the components which are configured in the theme configuration files. E.g. the preferredWidth of a component.- Specified by:
getRendererTypein interfaceVisual- Returns:
- The renderer type.
-
getDescription
-
getLabel
-
getValue
-
isDisabled
public boolean isDisabled() -
isEscape
public boolean isEscape() -
isNoSelectionOption
public boolean isNoSelectionOption() -
setDescription
-
setDisabled
public void setDisabled(boolean arg0) -
setEscape
public void setEscape(boolean arg0) -
setLabel
-
setNoSelectionOption
public void setNoSelectionOption(boolean arg0) -
setValue
-