Package org.apache.guacamole.form
Class Field.Type
java.lang.Object
org.apache.guacamole.form.Field.Type
- Enclosing class:
Field
All types of fields which are available by default. Additional field
types may be defined by extensions by using a unique field type name and
registering that name with the form service within JavaScript.
See FormService.js.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
A boolean field, whose value is either blank or "true".static final String
A date field whose legal values conform to the pattern "YYYY-MM-DD", zero-padded.static final String
An email address field.static final String
An enumerated field, whose legal values are fully enumerated by a provided, finite list.static final String
Field type which allows selection of languages.static final String
A text field that can span more than one line.static final String
A numeric field, whose value must contain only digits.static final String
A password field, whose value is sensitive and must be hidden.static final String
An HTTP query parameter which is expected to be embedded in the URL given to a user.static final String
A redirect field whose value is an encoded URL to which the user will be redirected.static final String
A color scheme accepted by the Guacamole server terminal emulator and protocols which leverage it.static final String
A text field, accepting arbitrary values.static final String
A time field whose legal values conform to the pattern "HH:MM:SS", zero-padded, 24-hour.static final String
A time zone field whose legal values are only valid time zone IDs, as dictated by Java within TimeZone.getAvailableIDs().static final String
A username field. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TEXT
A text field, accepting arbitrary values.- See Also:
-
EMAIL
An email address field. This field type generally behaves identically to arbitrary text fields, but has semantic differences.- See Also:
-
USERNAME
A username field. This field type generally behaves identically to arbitrary text fields, but has semantic differences.- See Also:
-
PASSWORD
A password field, whose value is sensitive and must be hidden.- See Also:
-
NUMERIC
A numeric field, whose value must contain only digits.- See Also:
-
BOOLEAN
A boolean field, whose value is either blank or "true".- See Also:
-
ENUM
An enumerated field, whose legal values are fully enumerated by a provided, finite list.- See Also:
-
MULTILINE
A text field that can span more than one line.- See Also:
-
TIMEZONE
A time zone field whose legal values are only valid time zone IDs, as dictated by Java within TimeZone.getAvailableIDs().- See Also:
-
LANGUAGE
Field type which allows selection of languages. The languages displayed are the set of languages supported by the Guacamole web application. Legal values are valid language IDs, as dictated by the filenames of Guacamole's available translations.- See Also:
-
DATE
A date field whose legal values conform to the pattern "YYYY-MM-DD", zero-padded.- See Also:
-
TIME
A time field whose legal values conform to the pattern "HH:MM:SS", zero-padded, 24-hour.- See Also:
-
QUERY_PARAMETER
An HTTP query parameter which is expected to be embedded in the URL given to a user.- See Also:
-
TERMINAL_COLOR_SCHEME
A color scheme accepted by the Guacamole server terminal emulator and protocols which leverage it.- See Also:
-
REDIRECT
A redirect field whose value is an encoded URL to which the user will be redirected.- See Also:
-
-
Constructor Details
-
Type
public Type()
-