Enum LineStyleEnum

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

public enum LineStyleEnum extends Enum<LineStyleEnum> implements NamedEnum
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 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 LineStyleEnum 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
    • getName

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

      public static LineStyleEnum getByName(String name)