org.jfree.chart.title
Class LegendItemBlockContainer
- Block, Cloneable, Drawable, PublicCloneable, Serializable
A container that holds all the pieces of a single legend item.
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.
|
add , add , arrange , clear , clone , draw , draw , equals , getArrangement , getBlocks , isEmpty , setArrangement |
arrange , arrange , calculateTotalHeight , calculateTotalWidth , drawBorder , equals , getBorder , getBounds , getContentXOffset , getContentYOffset , getHeight , getID , getMargin , getPadding , getWidth , setBorder , setBorder , setBounds , setHeight , setID , setMargin , setMargin , setPadding , setPadding , setWidth , toContentConstraint , trimBorder , trimMargin , trimPadding , trimToContentHeight , trimToContentWidth |
draw
public Object draw(Graphics2D g2,
Rectangle2D area,
Object params)
Draws the block within the specified area.
- draw in interface Block
- draw in interface BlockContainer
g2
- the graphics device.area
- the area.params
- passed on to blocks within the container
(null
permitted).