adapforms.form.elements
Class ListItem

java.lang.Object
  extended by adapforms.form.elements.ListItem

public class ListItem
extends java.lang.Object

A single selection item in a single-choice or multi-choice list (see ChoiceElement).

Author:
Henrik Gammelmark, geemark@daimi.au.dk

Constructor Summary
ListItem(java.lang.String value, java.lang.String title)
           
 
Method Summary
 java.lang.String getTitle()
          Human-readable title of the item.
 java.lang.String getValue()
          Value of the item to be used programatically.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListItem

public ListItem(java.lang.String value,
                java.lang.String title)
Method Detail

getValue

public java.lang.String getValue()
Value of the item to be used programatically.


getTitle

public java.lang.String getTitle()
Human-readable title of the item.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object