| java.lang.Object | |||
| ↳ | org.jfree.chart.block.AbstractBlock | ||
| ↳ | org.jfree.chart.title.Title | ||
| ↳ | org.jfree.chart.title.CompositeTitle | ||
A title that contains multiple titles within a BlockContainer.
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.title.Title
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new composite title with a default border arrangement.
| |||||||||||
Creates a new title using the specified container.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Arranges the contents of the block, within the given constraints, and
returns the block size.
| |||||||||||
Draws the block within the specified area.
| |||||||||||
Draws the title on a Java 2D graphics device (such as the screen or a
printer).
| |||||||||||
Tests this title for equality with an arbitrary object.
| |||||||||||
Returns the background paint.
| |||||||||||
Returns the container holding the titles.
| |||||||||||
Sets the background paint and sends a
TitleChangeEvent to all
registered listeners. | |||||||||||
Sets the title container.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.title.Title
| |||||||||||
From class
org.jfree.chart.block.AbstractBlock
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.block.Block
| |||||||||||
Creates a new composite title with a default border arrangement.
Creates a new title using the specified container.
| container | the container (null not permitted).
|
|---|
Arranges the contents of the block, within the given constraints, and returns the block size.
| g2 | the graphics device. |
|---|---|
| constraint | the constraint (null not permitted). |
null).
Draws the block within the specified area.
| g2 | the graphics device. |
|---|---|
| area | the area. |
| params | ignored (null permitted). |
null.
Draws the title on a Java 2D graphics device (such as the screen or a printer).
| g2 | the graphics device. |
|---|---|
| area | the area allocated for the title. |
Tests this title for equality with an arbitrary object.
| obj | the object (null permitted). |
|---|
Returns the container holding the titles.
null).
Sets the background paint and sends a TitleChangeEvent to all
registered listeners. If you set this attribute to null,
no background is painted (which makes the title background transparent).
| paint | the background paint (null permitted). |
|---|
Sets the title container.
| container | the container (null not permitted).
|
|---|