public interface Block
extends org.jfree.ui.Drawable
Arrangement manager.| Modifier and Type | Method and Description |
|---|---|
org.jfree.ui.Size2D |
arrange(Graphics2D g2)
Arranges the contents of the block, with no constraints, and returns
the block size.
|
org.jfree.ui.Size2D |
arrange(Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Object |
draw(Graphics2D g2,
Rectangle2D area,
Object params)
Draws the block within the specified area.
|
Rectangle2D |
getBounds()
Returns the current bounds of the block.
|
String |
getID()
Returns an ID for the block.
|
void |
setBounds(Rectangle2D bounds)
Sets the bounds of the block.
|
void |
setID(String id)
Sets the ID for the block.
|
String getID()
void setID(String id)
id - the ID.org.jfree.ui.Size2D arrange(Graphics2D g2)
g2 - the graphics device.org.jfree.ui.Size2D arrange(Graphics2D g2, RectangleConstraint constraint)
g2 - the graphics device.constraint - the constraint (null not permitted).null).Rectangle2D getBounds()
void setBounds(Rectangle2D bounds)
bounds - the bounds.Object draw(Graphics2D g2, Rectangle2D area, Object params)
params
and return value supported.g2 - the graphics device.area - the area.params - optional parameters (null permitted).null).Copyright © 2001–2014 JFree.org. All rights reserved.