| java.lang.Object | ||
| ↳ | org.jfree.chart.block.AbstractBlock | |
| ↳ | org.jfree.chart.block.LabelBlock | |
A block containing a label.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DEFAULT_PAINT | The default color. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new label block.
| |||||||||||
Creates a new label block.
| |||||||||||
Creates a new label block.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Arranges the contents of the block, within the given constraints, and
returns the block size.
| |||||||||||
Returns a clone of this
LabelBlock instance. | |||||||||||
Draws the block within the specified area.
| |||||||||||
Draws the block.
| |||||||||||
Tests this
LabelBlock for equality with an arbitrary
object. | |||||||||||
Returns the content alignment point.
| |||||||||||
Returns the font.
| |||||||||||
Returns the paint.
| |||||||||||
Returns the text anchor (never
null). | |||||||||||
Returns the tool tip text.
| |||||||||||
Returns the URL text.
| |||||||||||
Sets the content alignment point.
| |||||||||||
Sets the font and regenerates the label.
| |||||||||||
Sets the paint and regenerates the label.
| |||||||||||
Sets the text anchor.
| |||||||||||
Sets the tool tip text.
| |||||||||||
Sets the URL text.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.block.AbstractBlock
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.block.Block
| |||||||||||
Creates a new label block.
| label | the label (null not permitted).
|
|---|
Creates a new label block.
| text | the text for the label (null not permitted). |
|---|---|
| font | the font (null not permitted).
|
Creates a new label block.
| text | the text for the label (null not permitted). |
|---|---|
| font | the font (null not permitted). |
| paint | the paint (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).
Returns a clone of this LabelBlock instance.
| CloneNotSupportedException | if there is a problem cloning. |
|---|
Draws the block within the specified area.
| g2 | the graphics device. |
|---|---|
| area | the area. |
| params | ignored (null permitted). |
null.
Draws the block.
| g2 | the graphics device. |
|---|---|
| area | the area. |
Tests this LabelBlock for equality with an arbitrary
object.
| obj | the object (null permitted). |
|---|
Returns the content alignment point.
null).Returns the text anchor (never null).
Returns the tool tip text.
null).Sets the content alignment point.
| anchor | the anchor used to determine the alignment point (never
null). |
|---|
Sets the font and regenerates the label.
| font | the font (null not permitted). |
|---|
Sets the paint and regenerates the label.
| paint | the paint (null not permitted). |
|---|
Sets the text anchor.
| anchor | the anchor (null not permitted). |
|---|