|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JRAlignment
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 |
|---|
static final byte HORIZONTAL_ALIGN_LEFT
static final byte HORIZONTAL_ALIGN_CENTER
static final byte HORIZONTAL_ALIGN_RIGHT
static final byte HORIZONTAL_ALIGN_JUSTIFIED
static final byte VERTICAL_ALIGN_TOP
static final byte VERTICAL_ALIGN_MIDDLE
static final byte VERTICAL_ALIGN_BOTTOM
static final byte VERTICAL_ALIGN_JUSTIFIED
| Method Detail |
|---|
byte getHorizontalAlignment()
JRAlignmentvoid setHorizontalAlignment(byte horizontalAlignment)
horizontalAlignment - a value representing one of the horizontal alignment constants in JRAlignmentbyte getVerticalAlignment()
JRAlignmentvoid 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 | |||||||||