Enum Class NamedShape

java.lang.Object
java.lang.Enum<NamedShape>
io.deephaven.gui.shape.NamedShape
All Implemented Interfaces:
Shape, Serializable, Comparable<NamedShape>, java.lang.constant.Constable

public enum NamedShape extends Enum<NamedShape> implements Shape
Shape enums
  • Enum Constant Details

    • SQUARE

      public static final NamedShape SQUARE
    • CIRCLE

      public static final NamedShape CIRCLE
    • UP_TRIANGLE

      public static final NamedShape UP_TRIANGLE
    • DIAMOND

      public static final NamedShape DIAMOND
    • HORIZONTAL_RECTANGLE

      public static final NamedShape HORIZONTAL_RECTANGLE
    • ELLIPSE

      public static final NamedShape ELLIPSE
    • RIGHT_TRIANGLE

      public static final NamedShape RIGHT_TRIANGLE
    • DOWN_TRIANGLE

      public static final NamedShape DOWN_TRIANGLE
    • VERTICAL_RECTANGLE

      public static final NamedShape VERTICAL_RECTANGLE
    • LEFT_TRIANGLE

      public static final NamedShape LEFT_TRIANGLE
  • Method Details

    • values

      public static NamedShape[] 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 NamedShape 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
    • getShape

      public static NamedShape getShape(String shape)
    • getShapesString

      public static String getShapesString()