|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface that defines constants useful for alignment. All report elements that can be aligned in some way implement this interface.
| Field Summary | |
static byte |
HORIZONTAL_ALIGN_CENTER
|
static byte |
HORIZONTAL_ALIGN_JUSTIFIED
|
static byte |
HORIZONTAL_ALIGN_LEFT
|
static byte |
HORIZONTAL_ALIGN_RIGHT
|
static byte |
VERTICAL_ALIGN_BOTTOM
|
static byte |
VERTICAL_ALIGN_JUSTIFIED
|
static byte |
VERTICAL_ALIGN_MIDDLE
|
static byte |
VERTICAL_ALIGN_TOP
|
| Method Summary | |
byte |
getHorizontalAlignment()
Gets the text horizontal alignment. |
byte |
getVerticalAlignment()
Gets the text vertical alignment. |
void |
setHorizontalAlignment(byte horizontalAlignment)
Sets the text horizontal alignment. |
void |
setVerticalAlignment(byte verticalAlignment)
Gets the text vertical alignment. |
| Field Detail |
public static final byte HORIZONTAL_ALIGN_LEFT
public static final byte HORIZONTAL_ALIGN_CENTER
public static final byte HORIZONTAL_ALIGN_RIGHT
public static final byte HORIZONTAL_ALIGN_JUSTIFIED
public static final byte VERTICAL_ALIGN_TOP
public static final byte VERTICAL_ALIGN_MIDDLE
public static final byte VERTICAL_ALIGN_BOTTOM
public static final byte VERTICAL_ALIGN_JUSTIFIED
| Method Detail |
public byte getHorizontalAlignment()
JRAlignmentpublic void setHorizontalAlignment(byte horizontalAlignment)
horizontalAlignment - a value representing one of the horizontal alignment constants in JRAlignmentpublic byte getVerticalAlignment()
JRAlignmentpublic void setVerticalAlignment(byte verticalAlignment)
verticalAlignment - a value representing one of the vertical alignment constants in JRAlignment
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||