com.simpleservlets.htmlobjects
Class HTMLForm.Select
java.lang.Object
com.simpleservlets.htmlobjects.GenericHTMLElement
com.simpleservlets.htmlobjects.HTMLForm.Select
- All Implemented Interfaces:
- HTMLElement
- Enclosing class:
- HTMLForm
public static class HTMLForm.Select
- extends GenericHTMLElement
Input for forms (drop-down, scroll list), <select> tag.
| Methods inherited from class com.simpleservlets.htmlobjects.GenericHTMLElement |
add, add, addSibling, addSibling, getAttributes, getChildren, getName, getParent, hasAttributes, hasChildren, isSafeToWrapWithWhitespace, removeAllAttributes, removeAllChildren, removeAttribute, removeChild, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeGroup, setParent, setSafeToWrapWithWhitespace, setStyle |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_SIZE
public static final int NO_SIZE
- See Also:
- Constant Field Values
HTMLForm.Select
public HTMLForm.Select(String name,
int visibleSize,
boolean allowMultipleSelections)
HTMLForm.Select
public HTMLForm.Select(String name)
HTMLForm.Select
public HTMLForm.Select()
setName
public void setName(String name)
setSize
public void setSize(int size)
setAllowMultiple
public void setAllowMultiple(boolean multipleSelectionsOk)
clearAllSelections
public void clearAllSelections()
create
public static HTMLForm.Select create(String name,
int visibleSize,
boolean allowMultipleSelections,
String[] value,
String selectedValue,
String firstLine)
create
public static HTMLForm.Select create(String name,
String[] value,
String selectedValue,
String firstLine)
create
public static HTMLForm.Select create(String name,
String[] value)
Copyright © 2001-2007
Programix Incorporated.
All rights reserved.
SimpleServlets is free
and is
OSI Certified
Open Source Software under the BSD
license.