| org.jfree.chart.title.Title org.jfree.chart.title.CompositeTitle
Method Summary | |
public Size2D | arrange(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and
returns the block size.
Parameters: g2 - the graphics device. Parameters: constraint - the constraint (null not permitted). | public void | draw(Graphics2D g2, Rectangle2D area) Draws the title on a Java 2D graphics device (such as the screen or a
printer). | public Object | draw(Graphics2D g2, Rectangle2D area, Object params) Draws the block within the specified area.
Parameters: g2 - the graphics device. Parameters: area - the area. Parameters: params - ignored (null permitted). | public boolean | equals(Object obj) Tests this title for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public BlockContainer | getContainer() Returns the container holding the titles. | public void | setTitleContainer(BlockContainer container) Sets the title container. |
CompositeTitle | public CompositeTitle()(Code) | | Creates a new composite title with a default border arrangement.
|
CompositeTitle | public CompositeTitle(BlockContainer container)(Code) | | Creates a new title using the specified container.
Parameters: container - the container (null not permitted). |
arrange | public Size2D arrange(Graphics2D g2, RectangleConstraint constraint)(Code) | | Arranges the contents of the block, within the given constraints, and
returns the block size.
Parameters: g2 - the graphics device. Parameters: constraint - the constraint (null not permitted). The block size (in Java2D units, never null ). |
draw | public void draw(Graphics2D g2, Rectangle2D area)(Code) | | Draws the title on a Java 2D graphics device (such as the screen or a
printer).
Parameters: g2 - the graphics device. Parameters: area - the area allocated for the title. |
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 - ignored (null permitted). Always null . |
equals | public boolean equals(Object obj)(Code) | | Tests this title for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getContainer | public BlockContainer getContainer()(Code) | | Returns the container holding the titles.
The title container (never null ). |
setTitleContainer | public void setTitleContainer(BlockContainer container)(Code) | | Sets the title container.
Parameters: container - the container (null not permitted). |
Fields inherited from org.jfree.chart.title.Title | final public static HorizontalAlignment DEFAULT_HORIZONTAL_ALIGNMENT(Code)(Java Doc) final public static RectangleInsets DEFAULT_PADDING(Code)(Java Doc) final public static RectangleEdge DEFAULT_POSITION(Code)(Java Doc) final public static VerticalAlignment DEFAULT_VERTICAL_ALIGNMENT(Code)(Java Doc)
|
|
|