Class Field.Type

java.lang.Object
org.apache.guacamole.form.Field.Type
Enclosing class:
Field

public static class Field.Type extends Object
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

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TEXT

      public static final String TEXT
      A text field, accepting arbitrary values.
      See Also:
    • EMAIL

      public static final String EMAIL
      An email address field. This field type generally behaves identically to arbitrary text fields, but has semantic differences.
      See Also:
    • USERNAME

      public static final String USERNAME
      A username field. This field type generally behaves identically to arbitrary text fields, but has semantic differences.
      See Also:
    • PASSWORD

      public static final String PASSWORD
      A password field, whose value is sensitive and must be hidden.
      See Also:
    • NUMERIC

      public static final String NUMERIC
      A numeric field, whose value must contain only digits.
      See Also:
    • BOOLEAN

      public static final String BOOLEAN
      A boolean field, whose value is either blank or "true".
      See Also:
    • ENUM

      public static final String ENUM
      An enumerated field, whose legal values are fully enumerated by a provided, finite list.
      See Also:
    • MULTILINE

      public static final String MULTILINE
      A text field that can span more than one line.
      See Also:
    • TIMEZONE

      public static final String TIMEZONE
      A time zone field whose legal values are only valid time zone IDs, as dictated by Java within TimeZone.getAvailableIDs().
      See Also:
    • LANGUAGE

      public static final String 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

      public static final String DATE
      A date field whose legal values conform to the pattern "YYYY-MM-DD", zero-padded.
      See Also:
    • TIME

      public static final String TIME
      A time field whose legal values conform to the pattern "HH:MM:SS", zero-padded, 24-hour.
      See Also:
    • QUERY_PARAMETER

      public static final String QUERY_PARAMETER
      An HTTP query parameter which is expected to be embedded in the URL given to a user.
      See Also:
    • TERMINAL_COLOR_SCHEME

      public static final String TERMINAL_COLOR_SCHEME
      A color scheme accepted by the Guacamole server terminal emulator and protocols which leverage it.
      See Also:
    • REDIRECT

      public static final String REDIRECT
      A redirect field whose value is an encoded URL to which the user will be redirected.
      See Also:
  • Constructor Details

    • Type

      public Type()