|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SplitTypeEnum> net.sf.jasperreports.engine.type.SplitTypeEnum
public enum SplitTypeEnum
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SplitTypeEnum STRETCH
public static final SplitTypeEnum PREVENT
public static final SplitTypeEnum IMMEDIATE
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.Byte getValueByte()
getValueByte
in interface JREnum
public final byte getValue()
getValue
in interface JREnum
public java.lang.String getName()
getName
in interface JREnum
public static SplitTypeEnum getByName(java.lang.String name)
public static SplitTypeEnum getByValue(java.lang.Byte value)
public static SplitTypeEnum getByValue(byte value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |