Enum Class ValueType

java.lang.Object
java.lang.Enum<ValueType>
jfxtras.icalendarfx.properties.ValueType
All Implemented Interfaces:
Serializable, Comparable<ValueType>, Constable

public enum ValueType extends Enum<ValueType>
Allowed value types for calendar properties' value
  • Enum Constant Details

    • BINARY

      public static final ValueType BINARY
    • BOOLEAN

      public static final ValueType BOOLEAN
    • CALENDAR_USER_ADDRESS

      public static final ValueType CALENDAR_USER_ADDRESS
    • DATE

      public static final ValueType DATE
    • DATE_TIME

      public static final ValueType DATE_TIME
    • DURATION

      public static final ValueType DURATION
    • FLOAT

      public static final ValueType FLOAT
    • INTEGER

      public static final ValueType INTEGER
    • PERIOD

      public static final ValueType PERIOD
    • RECURRENCE_RULE

      public static final ValueType RECURRENCE_RULE
    • TEXT

      public static final ValueType TEXT
    • TIME

      public static final ValueType TIME
    • UNIFORM_RESOURCE_IDENTIFIER

      public static final ValueType UNIFORM_RESOURCE_IDENTIFIER
    • UTC_OFFSET

      public static final ValueType UTC_OFFSET
    • UNKNOWN

      public static final ValueType UNKNOWN
  • Field Details

    • IS_WINDOWS

      private static final boolean IS_WINDOWS
    • SPECIAL_CHARACTERS

      private static final char[] SPECIAL_CHARACTERS
    • REPLACEMENT_CHARACTERS

      private static final char[] REPLACEMENT_CHARACTERS
    • ZONE_OFFSET_FORMATTER

      private static final DateTimeFormatter ZONE_OFFSET_FORMATTER
    • enumFromNameMap

      private static Map<String,ValueType> enumFromNameMap
    • name

      private String name
    • allowedClasses

      List<Class<?>> allowedClasses
  • Constructor Details

    • ValueType

      private ValueType(String name, List<Class<?>> allowedClasses)
  • Method Details

    • values

      public static ValueType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ValueType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • makeEnumFromNameMap

      private static Map<String,ValueType> makeEnumFromNameMap()
    • enumFromName

      public static ValueType enumFromName(String propertyName)
      get enum from name
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ValueType>
    • allowedClasses

      public List<Class<?>> allowedClasses()
    • getConverter

      public abstract <T> StringConverter<T> getConverter()
      return default String converter associated with property value type
    • createErrorList

      public <T> List<String> createErrorList(T value)