java.lang.Object | +--sdsu.html.SelectionList
Create a dropdown menu or a scrollable list in an html form. Examples of each:
Larry Currly Moe Dropdown menu
Must be used in a form. Item user selects in reported as ListName=valueOfSelectedItem. Where ListName is the name given to the list, and valueOfSelectedItem is the value given to the selected item, or the display string of item if no value was given.
Use static methods SelectionList.scrolling(...) and SelectionList.dropDownMenu(...) to create instances of this class.
void
append(java.util.Enumeration itemsToDisplay)
append(java.lang.String itemDisplay)
append(java.lang.String itemDisplay, java.lang.String value)
append(java.lang.String itemDisplay, java.lang.String value, boolean selected)
static SelectionList
dropDownMenu(java.lang.String listName)
scrolling(java.lang.String listName, int size)
java.lang.String
toString()
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static SelectionList scrolling(java.lang.String listName, int size)
listName
size
public static SelectionList dropDownMenu(java.lang.String listName)
public void append(java.lang.String itemDisplay)
itemDisplay
public void append(java.lang.String itemDisplay, java.lang.String value)
value
public void append(java.lang.String itemDisplay, java.lang.String value, boolean selected)
selected
public void append(java.util.Enumeration itemsToDisplay)
itemsToDisplay
public java.lang.String toString()