java.lang.Object
java.lang.Enum<ShapeType>
com.orchestranetworks.addon.dmdv.template.bean.ShapeType
All Implemented Interfaces:
Serializable, Comparable<ShapeType>, Constable

public enum ShapeType extends Enum<ShapeType>
Possible node shapes.
Since:
1.2.0
  • Enum Constant Details

    • RECTANGLE

      public static final ShapeType RECTANGLE
      A rectangular shape.
    • ROUNDED_RECTANGLE

      public static final ShapeType ROUNDED_RECTANGLE
      A rectangular shape with four round corners.
    • SQUARE

      public static final ShapeType SQUARE
      A square shape.
    • ELLIPSE

      public static final ShapeType ELLIPSE
      A ellipse shape.
    • CIRCLE

      public static final ShapeType CIRCLE
      A circle shape.
  • Method Details

    • values

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

      public static ShapeType 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
    • parse

      public static ShapeType parse(String name)
      Get ShapeType value from String value.
      Parameters:
      name -
      Returns:
      ShapeType value