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: 684928 $ $Date: 2008-08-11 16:00:54 -0500 (Mon, 11 Aug 2008) $
Author:
Thomas Spiegl (latest modification by $Author: lu4242 $)
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)
           
 
Method Summary
 String getDescription()
           
 String getLabel()
           
 Object getValue()
           
 boolean isDisabled()
           
 boolean isEscape()
           
 void setDescription(String description)
           
 void setDisabled(boolean disabled)
           
 void setEscape(boolean escape)
           
 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)

SelectItem

public SelectItem(Object value,
                  String label,
                  String description,
                  boolean disabled,
                  boolean escape)
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)

isEscape

public boolean isEscape()

setEscape

public void setEscape(boolean escape)


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