Enum AttributeSchema.UIType

  • All Implemented Interfaces:
    Serializable, Comparable<AttributeSchema.UIType>
    Enclosing class:
    AttributeSchema

    public static enum AttributeSchema.UIType
    extends Enum<AttributeSchema.UIType>
    The class UIType defines the UI types of schema attributes and provides static constants for these types. These types mainly will be used by the GUI to determine how to display the schema attributes. Currently defined schema attribute UI types are RADIO, LINK, BUTTON and NAME_VALUE_LIST
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ADDREMOVELIST
      The ADDREMOVELIST attribute type specifies that the multiple choice attribute should be display as add remove list widget.
      BUTTON
      The BUTTON attribute type specifies that the attribute should be display as a button.
      GLOBALMAPLIST
      The GLOBALMAP_LIST attribute type specifies that the attribute should be display as a global map list widget.
      GLOBALSCRIPTSELECT
      The GLOBALSCRIPTSELECT attribute type specifies that the attribute should be display as drop down widget with only global scripts.
      LINK
      The LINK attribute type specifies that the attribute should be display as a link.
      MAPLIST
      The MAP_LIST attribute type specifies that the attribute should be display as an map list widget.
      NAME_VALUE_LIST
      The NAME_VALUE_LIST attribute type specifies that the attribute should be display as a name value list widget.
      ORDEREDLIST
      The ORDERED_LIST attribute type specifies that the attribute should be display as an ordered list widget.
      RADIO
      The RADIO attribute type specifies that the attribute should be display as radio button.
      SCRIPTSELECT
      The SCRIPTSELECT attribute type specifies that the attribute should be display as drop down widget.
      UNORDEREDLIST
      The UNORDERED_LIST attribute type specifies that the attribute should be display as an unordered list widget.
    • Enum Constant Detail

      • RADIO

        public static final AttributeSchema.UIType RADIO
        The RADIO attribute type specifies that the attribute should be display as radio button.
      • LINK

        public static final AttributeSchema.UIType LINK
        The LINK attribute type specifies that the attribute should be display as a link.
      • BUTTON

        public static final AttributeSchema.UIType BUTTON
        The BUTTON attribute type specifies that the attribute should be display as a button.
      • NAME_VALUE_LIST

        public static final AttributeSchema.UIType NAME_VALUE_LIST
        The NAME_VALUE_LIST attribute type specifies that the attribute should be display as a name value list widget.
      • UNORDEREDLIST

        public static final AttributeSchema.UIType UNORDEREDLIST
        The UNORDERED_LIST attribute type specifies that the attribute should be display as an unordered list widget.
      • ORDEREDLIST

        public static final AttributeSchema.UIType ORDEREDLIST
        The ORDERED_LIST attribute type specifies that the attribute should be display as an ordered list widget.
      • MAPLIST

        public static final AttributeSchema.UIType MAPLIST
        The MAP_LIST attribute type specifies that the attribute should be display as an map list widget.
      • GLOBALMAPLIST

        public static final AttributeSchema.UIType GLOBALMAPLIST
        The GLOBALMAP_LIST attribute type specifies that the attribute should be display as a global map list widget.
      • ADDREMOVELIST

        public static final AttributeSchema.UIType ADDREMOVELIST
        The ADDREMOVELIST attribute type specifies that the multiple choice attribute should be display as add remove list widget.
      • SCRIPTSELECT

        public static final AttributeSchema.UIType SCRIPTSELECT
        The SCRIPTSELECT attribute type specifies that the attribute should be display as drop down widget.
      • GLOBALSCRIPTSELECT

        public static final AttributeSchema.UIType GLOBALSCRIPTSELECT
        The GLOBALSCRIPTSELECT attribute type specifies that the attribute should be display as drop down widget with only global scripts.
    • Method Detail

      • values

        public static AttributeSchema.UIType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (AttributeSchema.UIType c : AttributeSchema.UIType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AttributeSchema.UIType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • toString

        public String toString()
        The method returns the string representation of the schema attribute UI type.
        Overrides:
        toString in class Enum<AttributeSchema.UIType>
        Returns:
        String string representation of schema attribute UI type