Package org.apache.guacamole.form
Class EnumField
java.lang.Object
org.apache.guacamole.form.Field
org.apache.guacamole.form.EnumField
Represents an arbitrary field with a finite, enumerated set of possible
values.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.guacamole.form.Field
Field.Type
-
Constructor Summary
ConstructorsConstructorDescriptionEnumField
(String name, Collection<String> options) Creates a new EnumField with the given name and possible values. -
Method Summary
Methods inherited from class org.apache.guacamole.form.Field
getName, getOptions, getType, setName, setOptions, setType
-
Constructor Details
-
EnumField
Creates a new EnumField with the given name and possible values.- Parameters:
name
- The unique name to associate with this field.options
- All possible legal options for this field.
-