public class DropDown extends Field
| Constructor and Description |
|---|
DropDown(java.lang.String name,
java.lang.String label,
java.util.List values,
int defval,
boolean indexed)
Create a new DropDown list.
|
DropDown(java.lang.String name,
java.lang.String label,
java.util.List values,
java.lang.Object defval,
boolean indexed)
Create a new DropDown list.
|
DropDown(java.lang.String name,
java.lang.String label,
java.lang.Object[] values,
int defval,
boolean indexed)
Create a new DropDown list.
|
DropDown(java.lang.String name,
java.lang.String label,
java.lang.Object[] values,
java.lang.Object defval,
boolean indexed)
Create a new DropDown list.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
print() |
public DropDown(java.lang.String name,
java.lang.String label,
java.lang.Object[] values,
java.lang.Object defval,
boolean indexed)
name - The HTML field name.label - The label to displayvalues - The values for the drop down listdefval - If this parameter is set then this element will be selected by default.indexed - If this is set to true, then indexes will be returned, rather than values.public DropDown(java.lang.String name,
java.lang.String label,
java.lang.Object[] values,
int defval,
boolean indexed)
name - The HTML field name.label - The label to displayvalues - The values for the drop down listdefval - If this parameter is set then this element will be selected by default.indexed - If this is set to true, then indexes will be returned, rather than values.public DropDown(java.lang.String name,
java.lang.String label,
java.util.List values,
java.lang.Object defval,
boolean indexed)
name - The HTML field name.label - The label to displayvalues - The values for the drop down listdefval - If this parameter is set then this element will be selected by default.indexed - If this is set to true, then indexes will be returned, rather than values.public DropDown(java.lang.String name,
java.lang.String label,
java.util.List values,
int defval,
boolean indexed)
name - The HTML field name.label - The label to displayvalues - The values for the drop down listdefval - If this parameter is set then this element will be selected by default.indexed - If this is set to true, then indexes will be returned, rather than values.