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