Class SelectFieldItem
public class SelectFieldItem
extends Object
Represents an checkBoxList/radioList item.
-
Constructor Summary
Constructors
Generate an item for check box list or radio button list.
Generate an item for check box list or radio button list.
-
Method Summary
Gets the text of the item.
Gets the value of the item.
void
Sets the text of the item.
void
Sets the value of the item.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SelectFieldItem
public SelectFieldItem()
Generate an item for check box list or radio button list.
-
SelectFieldItem
Generate an item for check box list or radio button list.
- Parameters:
text
- The text of the item.
value
- The value of the item.
-
Method Details
-
getText
Gets the text of the item.
-
setText
public void setText(String text)
Sets the text of the item.
- Parameters:
text
- The text of the item.
-
getValue
Gets the value of the item.
- Returns:
- The value of the item.
-
setValue
public void setValue(Object value)
Sets the value of the item.
- Parameters:
value
- The value of the item.