Enum Class GuiOsmConstants.StrokeEnum

java.lang.Object
java.lang.Enum<GuiOsmConstants.StrokeEnum>
org.ka2ddo.yaac.gui.osm.GuiOsmConstants.StrokeEnum
All Implemented Interfaces:
Serializable, Comparable<GuiOsmConstants.StrokeEnum>, Constable
Enclosing class:
GuiOsmConstants

public static enum GuiOsmConstants.StrokeEnum extends Enum<GuiOsmConstants.StrokeEnum>
Enumeration identifying different types of stroke styles used for rendering.
  • Enum Constant Details

  • Method Details

    • values

      public static GuiOsmConstants.StrokeEnum[] 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 GuiOsmConstants.StrokeEnum 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
    • getStroke

      public Stroke getStroke()
      Get an instance of Stroke associated with this enum instance.
      Returns:
      Stroke object for this enum value