Enum Class ESwingType

java.lang.Object
java.lang.Enum<ESwingType>
com.github.stephengold.joltjni.enumerate.ESwingType
All Implemented Interfaces:
Serializable, Comparable<ESwingType>, Constable

public enum ESwingType extends Enum<ESwingType>
Enumerate possible behaviors of a swing limit in a Constraint.
  • Enum Constant Details

    • Cone

      public static final ESwingType Cone
      limited by a cone shape, for limits that are symmetric around 0
    • Pyramid

      public static final ESwingType Pyramid
      limited by a pyramid shape
  • Method Details

    • values

      public static ESwingType[] 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 ESwingType 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