public enum SplitTypeEnum extends 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(String name) |
static SplitTypeEnum |
getByValue(byte value)
Deprecated.
Used only by deprecated serialized fields.
|
static SplitTypeEnum |
getByValue(Byte value)
Deprecated.
Used only by deprecated serialized fields.
|
String |
getName() |
byte |
getValue()
Deprecated.
Used only by deprecated serialized fields.
|
Byte |
getValueByte()
Deprecated.
Used only by deprecated serialized fields.
|
static SplitTypeEnum |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
public static SplitTypeEnum getByName(String name)
public static SplitTypeEnum getByValue(Byte value)
public static SplitTypeEnum getByValue(byte value)
Copyright © 2017. All rights reserved.