org.JCaiF.CoreComponents
Class TextListItem
java.lang.Object
org.JCaiF.CoreComponents.TextListItem
- All Implemented Interfaces:
- java.lang.Cloneable, ListItem, SurveyObject
public class TextListItem
- extends java.lang.Object
- implements ListItem
- Author:
- Michael Hall
|
Constructor Summary |
TextListItem()
Creates a new instance of TextListItem |
TextListItem(java.lang.String v,
java.lang.String t)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextListItem
public TextListItem()
- Creates a new instance of TextListItem
TextListItem
public TextListItem(java.lang.String v,
java.lang.String t)
setValue
public void setValue(java.lang.String v)
- Specified by:
setValue in interface SurveyObject
setText
public void setText(java.lang.String t)
- Specified by:
setText in interface ListItem
setId
public void setId(java.lang.String l)
- Specified by:
setId in interface SurveyObject
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelected in interface ListItem
setExclusive
public void setExclusive(boolean exclusive)
- Specified by:
setExclusive in interface ListItem
isSelected
public boolean isSelected()
- Specified by:
isSelected in interface ListItem
isExclusive
public boolean isExclusive()
- Specified by:
isExclusive in interface ListItem
getValue
public java.lang.String getValue()
- Specified by:
getValue in interface SurveyObject
getText
public java.lang.String getText()
- Specified by:
getText in interface ListItem
getId
public java.lang.String getId()
- Specified by:
getId in interface SurveyObject
clone
public ListItem clone()
- Specified by:
clone in interface ListItem- Specified by:
clone in interface SurveyObject- Overrides:
clone in class java.lang.Object
init
public void init()
- Specified by:
init in interface SurveyObject