Enum Class LineStyleEnum

java.lang.Object
java.lang.Enum<LineStyleEnum>
net.sf.jasperreports.engine.type.LineStyleEnum
All Implemented Interfaces:
Serializable, Comparable<LineStyleEnum>, Constable, JREnum, NamedEnum

public enum LineStyleEnum extends Enum<LineStyleEnum> implements JREnum
Author:
Sanda Zaharia (shertage@users.sourceforge.net)
  • Enum Constant Details

    • SOLID

      public static final LineStyleEnum SOLID
      Constant useful for specifying solid line style.
    • DASHED

      public static final LineStyleEnum DASHED
      Constant useful for specifying dashed line style.
    • DOTTED

      public static final LineStyleEnum DOTTED
      Constant useful for specifying dotted line style.
    • DOUBLE

      public static final LineStyleEnum DOUBLE
      Constant useful for specifying double line style.
  • Method Details

    • values

      public static LineStyleEnum[] 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 LineStyleEnum 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
    • getValueByte

      public Byte getValueByte()
      Deprecated.
      Used only by deprecated serialized fields.
      Specified by:
      getValueByte in interface JREnum
    • getValue

      public final byte getValue()
      Deprecated.
      Used only by deprecated serialized fields.
      Specified by:
      getValue in interface JREnum
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEnum
    • getByName

      public static LineStyleEnum getByName(String name)
    • getByValue

      public static LineStyleEnum getByValue(Byte value)
      Deprecated.
      Used only by deprecated serialized fields.
    • getByValue

      public static LineStyleEnum getByValue(byte value)
      Deprecated.
      Used only by deprecated serialized fields.