public class DropDown extends Field
| Modifier and Type | Field and Description |
|---|---|
(package private) Object |
defval |
(package private) boolean |
indexed |
(package private) Object[] |
values |
| Constructor and Description |
|---|
DropDown(String name,
String label,
List values,
int defval,
boolean indexed)
Create a new DropDown list.
|
DropDown(String name,
String label,
List values,
Object defval,
boolean indexed)
Create a new DropDown list.
|
DropDown(String name,
String label,
Object[] values,
int defval,
boolean indexed)
Create a new DropDown list.
|
DropDown(String name,
String label,
Object[] values,
Object defval,
boolean indexed)
Create a new DropDown list.
|
public DropDown(String name, String label, Object[] values, 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(String name, String label, 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(String name, String label, List values, 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(String name, String label, 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.Copyright © 2015. All Rights Reserved.