|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PositionTypeEnum> net.sf.jasperreports.engine.type.PositionTypeEnum
public enum PositionTypeEnum
Enum Constant Summary | |
---|---|
FIX_RELATIVE_TO_BOTTOM
If the height of the parent report section is affected by elements that stretch, the current element will try to conserve the original distance between its bottom margin and the bottom of the band. |
|
FIX_RELATIVE_TO_TOP
The element will simply ignore what happens to the other section elements and tries to conserve the y offset measured from the top of its parent report section. |
|
FLOAT
The element will float in its parent section if it is pushed downwards by other elements fount above it. |
Method Summary | |
---|---|
static PositionTypeEnum |
getByName(java.lang.String name)
|
static PositionTypeEnum |
getByValue(byte value)
|
static PositionTypeEnum |
getByValue(java.lang.Byte value)
|
java.lang.String |
getName()
|
byte |
getValue()
|
java.lang.Byte |
getValueByte()
|
static PositionTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PositionTypeEnum[] |
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 PositionTypeEnum FLOAT
public static final PositionTypeEnum FIX_RELATIVE_TO_TOP
public static final PositionTypeEnum FIX_RELATIVE_TO_BOTTOM
Method Detail |
---|
public static PositionTypeEnum[] values()
for (PositionTypeEnum c : PositionTypeEnum.values()) System.out.println(c);
public static PositionTypeEnum 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 PositionTypeEnum getByName(java.lang.String name)
public static PositionTypeEnum getByValue(java.lang.Byte value)
public static PositionTypeEnum getByValue(byte value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |