javax.faces.model
Class SelectItem

java.lang.Object
  extended by javax.faces.model.SelectItem
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
SelectItemGroup

public class SelectItem
extends Object
implements Serializable

see Javadoc of JSF Specification

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Thomas Spiegl (latest modification by $Author: bommel $)
See Also:
Serialized Form

Constructor Summary
SelectItem()
           
SelectItem(Object value)
           
SelectItem(Object value, String label)
           
SelectItem(Object value, String label, String description)
           
SelectItem(Object value, String label, String description, boolean disabled)
           
SelectItem(Object value, String label, String description, boolean disabled, boolean escape)
           
SelectItem(Object value, String label, String description, boolean disabled, boolean escape, boolean noSelectionOption)
           
 
Method Summary
 String getDescription()
           
 String getLabel()
           
 Object getValue()
           
 boolean isDisabled()
           
 boolean isEscape()
           
 boolean isNoSelectionOption()
           
 void setDescription(String description)
           
 void setDisabled(boolean disabled)
           
 void setEscape(boolean escape)
           
 void setLabel(String label)
           
 void setNoSelectionOption(boolean noSelectionOption)
           
 void setValue(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectItem

public SelectItem()

SelectItem

public SelectItem(Object value)

SelectItem

public SelectItem(Object value,
                  String label)

SelectItem

public SelectItem(Object value,
                  String label,
                  String description)

SelectItem

public SelectItem(Object value,
                  String label,
                  String description,
                  boolean disabled)

SelectItem

public SelectItem(Object value,
                  String label,
                  String description,
                  boolean disabled,
                  boolean escape)

SelectItem

public SelectItem(Object value,
                  String label,
                  String description,
                  boolean disabled,
                  boolean escape,
                  boolean noSelectionOption)
Parameters:
value -
label -
description -
disabled -
escape -
noSelectionOption -
Since:
2.0
Method Detail

getDescription

public String getDescription()

getLabel

public String getLabel()

getValue

public Object getValue()

isDisabled

public boolean isDisabled()

isEscape

public boolean isEscape()

isNoSelectionOption

public boolean isNoSelectionOption()
Returns:
Since:
2.0

setDescription

public void setDescription(String description)

setDisabled

public void setDisabled(boolean disabled)

setEscape

public void setEscape(boolean escape)

setLabel

public void setLabel(String label)

setNoSelectionOption

public void setNoSelectionOption(boolean noSelectionOption)
Parameters:
noSelectionOption -
Since:
2.0

setValue

public void setValue(Object value)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.