public enum SplitTypeEnum extends java.lang.Enum<SplitTypeEnum> implements JREnum
| Enum Constant and Description |
|---|
IMMEDIATE
The band is allowed to split anywhere, as early as needed,
but not before at least one element being printed on the current page/column.
|
PREVENT
Prevents the band from splitting on first break attempt.
|
STRETCH
The band is allowed to split, but never within its declared height.
|
| Modifier and Type | Method and Description |
|---|---|
static SplitTypeEnum |
getByName(java.lang.String name) |
static SplitTypeEnum |
getByValue(byte value) |
static SplitTypeEnum |
getByValue(java.lang.Byte value) |
java.lang.String |
getName() |
byte |
getValue() |
java.lang.Byte |
getValueByte() |
static SplitTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SplitTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SplitTypeEnum STRETCH
public static final SplitTypeEnum PREVENT
public static final SplitTypeEnum IMMEDIATE
public static SplitTypeEnum[] values()
for (SplitTypeEnum c : SplitTypeEnum.values()) System.out.println(c);
public static SplitTypeEnum 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 JREnumpublic static SplitTypeEnum getByName(java.lang.String name)
public static SplitTypeEnum getByValue(java.lang.Byte value)
public static SplitTypeEnum getByValue(byte value)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com