org.jfree.chart.title
public class LegendItemBlockContainer extends BlockContainer
Since: 1.0.2
Constructor Summary | |
---|---|
LegendItemBlockContainer(Arrangement arrangement, int dataset, int series)
Creates a new legend item block.
|
Method Summary | |
---|---|
Object | draw(Graphics2D g2, Rectangle2D area, Object params)
Draws the block within the specified area.
|
int | getDatasetIndex()
Returns the dataset index.
|
int | getSeriesIndex()
Returns the series index.
|
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.
|
Parameters: arrangement dataset series
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: The dataset index.
Returns: The series index.
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