net.sf.jasperreports.engine.type
public enum LineStyleEnum extends java.lang.Enum<LineStyleEnum> implements JREnum
Enum Constant and Description |
---|
DASHED
Constant useful for specifying dashed line style.
|
DOTTED
Constant useful for specifying dotted line style.
|
DOUBLE
Constant useful for specifying double line style.
|
SOLID
Constant useful for specifying solid line style.
|
Modifier and Type | Method and Description |
---|---|
static LineStyleEnum |
getByName(java.lang.String name) |
static LineStyleEnum |
getByValue(byte value) |
static LineStyleEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static LineStyleEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LineStyleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineStyleEnum SOLID
public static final LineStyleEnum DASHED
public static final LineStyleEnum DOTTED
public static final LineStyleEnum DOUBLE
public static LineStyleEnum[] values()
for (LineStyleEnum c : LineStyleEnum.values()) System.out.println(c);
public static LineStyleEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public static LineStyleEnum getByName(java.lang.String name)
public static LineStyleEnum getByValue(java.lang.Byte value)
public static LineStyleEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com