Package | Description |
---|---|
org.jfree.chart.block |
Blocks and layout classes used extensively by the
LegendTitle class. |
org.jfree.chart.text |
Text-related classes formerly in the JCommon class library.
|
org.jfree.chart.title |
Classes used to display chart titles and subtitles.
|
org.jfree.chart.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 | 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 |
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 |
---|
DateTitle(int style,
Locale locale,
Font font,
Paint paint,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new chart title that displays the current date.
|
ImageTitle(Image image,
int height,
int width,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new image title with the given image scaled to the given
width and height in the given location.
|
ImageTitle(Image image,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment)
Creates a new image title.
|
TextTitle(String text,
Font font,
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 | Field and Description |
---|---|
static HorizontalAlignment |
HorizontalAlignment.CENTER
Center alignment.
|
static HorizontalAlignment |
HorizontalAlignment.LEFT
Left alignment.
|
static HorizontalAlignment |
HorizontalAlignment.RIGHT
Right alignment.
|
Copyright © 2001–2017 JFree.org. All rights reserved.