Package | Description |
---|---|
org.jfree.chart.block | |
org.jfree.chart.title | |
org.jfree.text | |
org.jfree.ui |
Constructor and Description |
---|
ColumnArrangement(HorizontalAlignment hAlign,
VerticalAlignment vAlign,
double hGap,
double vGap)
Creates a new instance.
|
FlowArrangement(HorizontalAlignment hAlign,
VerticalAlignment vAlign,
double hGap,
double vGap)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
static HorizontalAlignment |
Title.DEFAULT_HORIZONTAL_ALIGNMENT
The default horizontal alignment.
|
Modifier and Type | Method and Description |
---|---|
HorizontalAlignment |
Title.getHorizontalAlignment()
Returns the horizontal alignment of the title.
|
HorizontalAlignment |
TextTitle.getTextAlignment()
Returns the text alignment.
|
Modifier and Type | Method and Description |
---|---|
void |
Title.setHorizontalAlignment(HorizontalAlignment alignment)
Sets the horizontal alignment for the title and sends a
TitleChangeEvent to all registered listeners. |
void |
TextTitle.setTextAlignment(HorizontalAlignment alignment)
Sets the text alignment and sends a
TitleChangeEvent to
all registered listeners. |
Constructor and Description |
---|
TextTitle(java.lang.String text,
java.awt.Font font,
java.awt.Paint paint,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new title.
|
Title(RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment)
Creates a new title, using default attributes where necessary.
|
Title(RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new title.
|
Modifier and Type | Method and Description |
---|---|
HorizontalAlignment |
TextBlock.getLineAlignment()
Returns the alignment of the lines of text within the block.
|
Modifier and Type | Method and Description |
---|---|
void |
TextBlock.setLineAlignment(HorizontalAlignment alignment)
Sets the alignment of the lines of text within the block.
|
Modifier and Type | Field and Description |
---|---|
static HorizontalAlignment |
HorizontalAlignment.CENTER
Center alignment.
|
static HorizontalAlignment |
HorizontalAlignment.LEFT
Left alignment.
|
static HorizontalAlignment |
HorizontalAlignment.RIGHT
Right alignment.
|