Class 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 String BOOLEAN
      A boolean field, whose value is either blank or "true".
      static String DATE
      A date field whose legal values conform to the pattern "YYYY-MM-DD", zero-padded.
      static String EMAIL
      An email address field.
      static String ENUM
      An enumerated field, whose legal values are fully enumerated by a provided, finite list.
      static String LANGUAGE
      Field type which allows selection of languages.
      static String MULTILINE
      A text field that can span more than one line.
      static String NUMERIC
      A numeric field, whose value must contain only digits.
      static String PASSWORD
      A password field, whose value is sensitive and must be hidden.
      static String QUERY_PARAMETER
      An HTTP query parameter which is expected to be embedded in the URL given to a user.
      static String REDIRECT
      A redirect field whose value is an encoded URL to which the user will be redirected.
      static String TERMINAL_COLOR_SCHEME
      A color scheme accepted by the Guacamole server terminal emulator and protocols which leverage it.
      static String TEXT
      A text field, accepting arbitrary values.
      static String TIME
      A time field whose legal values conform to the pattern "HH:MM:SS", zero-padded, 24-hour.
      static String TIMEZONE
      A time zone field whose legal values are only valid time zone IDs, as dictated by Java within TimeZone.getAvailableIDs().
      static String USERNAME
      A username field.
    • Constructor Summary

      Constructors 
      Constructor Description
      Type()  
    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • PASSWORD

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

        public static final String ENUM
        An enumerated field, whose legal values are fully enumerated by a provided, finite list.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • DATE

        public static final String DATE
        A date field whose legal values conform to the pattern "YYYY-MM-DD", zero-padded.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • REDIRECT

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

      • Type

        public Type()