Package org.apache.myfaces.tobago.model
Class SelectItem
- java.lang.Object
-
- jakarta.faces.model.SelectItem
-
- org.apache.myfaces.tobago.model.SelectItem
-
- All Implemented Interfaces:
Serializable
,Visual
public class SelectItem extends jakarta.faces.model.SelectItem implements Visual
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SelectItem()
SelectItem(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, boolean disabled, String image, Markup markup)
SelectItem(Object value, String label, String tip, String image)
SelectItem(Object value, String label, String tip, String image, Markup markup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomClass
getCustomClass()
String
getImage()
Markup
getMarkup()
String
getRendererType()
The renderer is an id that is used by Tobago to gather information about the components which are configured in the theme configuration files.String
getTip()
Alias name for description.void
setCustomClass(CustomClass customClass)
void
setImage(String image)
void
setMarkup(Markup markup)
void
setTip(String tip)
Alias name for description.-
Methods inherited from class jakarta.faces.model.SelectItem
getDescription, getLabel, getValue, isDisabled, isEscape, isNoSelectionOption, setDescription, setDisabled, setEscape, setLabel, setNoSelectionOption, setValue
-
-
-
-
Constructor Detail
-
SelectItem
public SelectItem()
-
SelectItem
public SelectItem(Object value)
-
SelectItem
public SelectItem(Object value, String label, String tip, boolean disabled, String image)
-
SelectItem
public SelectItem(Object value, String label, String tip, boolean disabled, String image, Markup markup)
-
-
Method Detail
-
getTip
public String getTip()
Alias name for description.
-
setTip
public void setTip(String tip)
Alias name for description.
-
getImage
public String getImage()
-
setImage
public void setImage(String image)
-
getCustomClass
public CustomClass getCustomClass()
- Specified by:
getCustomClass
in interfaceVisual
-
setCustomClass
public void setCustomClass(CustomClass customClass)
- Specified by:
setCustomClass
in interfaceVisual
-
getRendererType
public String getRendererType()
Description copied from interface:Visual
The 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:
getRendererType
in interfaceVisual
- Returns:
- The renderer type.
-
-