Enum OptionType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OptionType>

    public enum OptionType
    extends java.lang.Enum<OptionType>
    • Enum Constant Detail

      • INT_TYPE

        public static final OptionType INT_TYPE
      • LONG_TYPE

        public static final OptionType LONG_TYPE
      • STRING_TYPE

        public static final OptionType STRING_TYPE
      • DOUBLE_TYPE

        public static final OptionType DOUBLE_TYPE
      • BOOLEAN_TYPE

        public static final OptionType BOOLEAN_TYPE
      • DATE_TYPE

        public static final OptionType DATE_TYPE
      • FLOAT_TYPE

        public static final OptionType FLOAT_TYPE
      • ENUM_TYPE

        public static final OptionType ENUM_TYPE
      • CUSTOM_TYPE

        public static final OptionType CUSTOM_TYPE
      • BYTE_ARRAY_TYPE

        public static final OptionType BYTE_ARRAY_TYPE
      • FILE_TYPE

        public static final OptionType FILE_TYPE
      • COLOR_TYPE

        public static final OptionType COLOR_TYPE
      • FONT_TYPE

        public static final OptionType FONT_TYPE
      • KEYSTROKE_TYPE

        public static final OptionType KEYSTROKE_TYPE
    • Method Detail

      • values

        public static OptionType[] 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 (OptionType c : OptionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OptionType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • convertStringToObject

        public java.lang.Object convertStringToObject​(java.lang.String string)
      • convertObjectToString

        public java.lang.String convertObjectToString​(java.lang.Object object)
      • getValueClass

        public java.lang.Class<?> getValueClass()
      • getOptionType

        public static OptionType getOptionType​(java.lang.Object obj)