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: 676278 $ $Date: 2008-07-13 03:35:04 -0500 (Sun, 13 Jul 2008) $
Author:
Thomas Spiegl (latest modification by $Author: skitching $)
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)
           
 
Method Summary
 String getDescription()
           
 String getLabel()
           
 Object getValue()
           
 boolean isDisabled()
           
 void setDescription(String description)
           
 void setDisabled(boolean disabled)
           
 void setLabel(String label)
           
 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)
Method Detail

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

isDisabled

public boolean isDisabled()

setDisabled

public void setDisabled(boolean disabled)

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

getValue

public Object getValue()

setValue

public void setValue(Object value)


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