java.lang.Object
java.lang.Enum<FlexWrap>
com.inductiveautomation.perspective.designer.styles.attributes.flex.FlexWrap
All Implemented Interfaces:
Reverse, Serializable, Comparable<FlexWrap>, Constable

public enum FlexWrap extends Enum<FlexWrap> implements Reverse
  • Enum Constant Details

    • nowrap

      public static final FlexWrap nowrap
    • wrap

      public static final FlexWrap wrap
    • wrapReverse

      public static final FlexWrap wrapReverse
  • Method Details

    • values

      public static FlexWrap[] 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 FlexWrap 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
    • getReverse

      public String getReverse()
      Description copied from interface: Reverse
      Returns the reverse value. If there is none, return null
      Specified by:
      getReverse in interface Reverse
      Returns:
      string of reversed value
    • isReversed

      public boolean isReversed()
      Description copied from interface: Reverse
      Checks if the value is a reversed value
      Specified by:
      isReversed in interface Reverse
      Returns:
      boolean
    • isReversable

      public boolean isReversable()
      Description copied from interface: Reverse
      Checks if the value is reversable
      Specified by:
      isReversable in interface Reverse
      Returns:
      boolean
    • toString

      public String toString()
      Overrides:
      toString in class Enum<FlexWrap>