net.sf.jasperreports.engine.type
public enum PositionTypeEnum extends java.lang.Enum<PositionTypeEnum> implements JREnum
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final PositionTypeEnum FLOAT
public static final PositionTypeEnum FIX_RELATIVE_TO_TOP
public static final PositionTypeEnum FIX_RELATIVE_TO_BOTTOM
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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.Byte getValueByte()
getValueByte
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)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com