Package org.apache.guacamole.form
Class EnumField
- java.lang.Object
-
- org.apache.guacamole.form.Field
-
- org.apache.guacamole.form.EnumField
-
public class EnumField extends Field
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
Constructors Constructor Description EnumField(String name, Collection<String> options)
Creates a new EnumField with the given name and possible values.
-
-
-
Constructor Detail
-
EnumField
public EnumField(String name, Collection<String> options)
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.
-
-