org.jfree.chart.title
Class LegendItemBlockContainer
- Block, Cloneable, Drawable, PublicCloneable, Serializable
A container that holds all the pieces of a single legend item.
add, add, arrange, clear, clone, draw, draw, equals, getArrangement, getBlocks, isEmpty, setArrangement |
arrange, arrange, calculateTotalHeight, calculateTotalWidth, clone, drawBorder, equals, getBorder, getBounds, getContentXOffset, getContentYOffset, getFrame, getHeight, getID, getMargin, getPadding, getWidth, setBorder, setBorder, setBounds, setFrame, 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).
getToolTipText
public String getToolTipText()
Returns the tool tip text.
- The tool tip text (possibly
null).
getURLText
public String getURLText()
Returns the URL text.
- The URL text (possibly
null).
setToolTipText
public void setToolTipText(String text)
Sets the tool tip text.
text - the text (null permitted).
setURLText
public void setURLText(String text)
Sets the URL text.
text - the text (null permitted).