org.jfree.chart.title
public class LegendItemBlockContainer extends BlockContainer
Since: 1.0.2
| Constructor Summary | |
|---|---|
| LegendItemBlockContainer(Arrangement arrangement, int datasetIndex, int series)
Creates a new legend item block.
| |
| LegendItemBlockContainer(Arrangement arrangement, Dataset dataset, Comparable seriesKey)
Creates a new legend item block.
| |
| Method Summary | |
|---|---|
| Object | draw(Graphics2D g2, Rectangle2D area, Object params)
Draws the block within the specified area.
|
| Dataset | getDataset()
Returns a reference to the dataset for the associated legend item.
|
| int | getDatasetIndex()
Returns the dataset index.
|
| int | getSeriesIndex()
Returns the series index.
|
| Comparable | getSeriesKey()
Returns the series key.
|
| String | getToolTipText()
Returns the tool tip text.
|
| String | getURLText()
Returns the URL text.
|
| void | setToolTipText(String text)
Sets the tool tip text.
|
| void | setURLText(String text)
Sets the URL text.
|
Deprecated: As of 1.0.6, use the other constructor.
Creates a new legend item block.Parameters: arrangement the arrangement. datasetIndex the dataset index. series the series index.
Parameters: arrangement the arrangement. dataset the dataset. seriesKey the series key.
Since: 1.0.6
Parameters: g2 the graphics device. area the area. params passed on to blocks within the container
(null permitted).
Returns: An instance of EntityBlockResult, or null.
Returns: A dataset reference.
Since: 1.0.6
Deprecated: As of 1.0.6, use the getDataset method.
Returns the dataset index.Returns: The dataset index.
Returns: The series index.
Returns: The series key.
Since: 1.0.6
Returns: The tool tip text (possibly null).
Since: 1.0.3
Returns: The URL text (possibly null).
Since: 1.0.3
Parameters: text the text (null permitted).
Since: 1.0.3
Parameters: text the text (null permitted).
Since: 1.0.3