Save This Page
Home » jcommon-1.0.13 » org.jfree » chart » block » [javadoc | source]
org.jfree.chart.block
public class: EmptyBlock [javadoc | source]
java.lang.Object
   org.jfree.chart.block.AbstractBlock
      org.jfree.chart.block.EmptyBlock

All Implemented Interfaces:
    PublicCloneable, Cloneable, Serializable, Block

An empty block with a fixed size.
Constructor:
 public EmptyBlock(double width,
    double height) 
Method from org.jfree.chart.block.EmptyBlock Summary:
arrange,   clone,   draw,   draw
Methods from org.jfree.chart.block.AbstractBlock:
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
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.chart.block.EmptyBlock Detail:
 public Size2D arrange(Graphics2D g2,
    RectangleConstraint constraint) 
    Arranges the contents of the block, within the given constraints, and returns the block size.
 public Object clone() throws CloneNotSupportedException 
    Returns a clone of the block.
 public  void draw(Graphics2D g2,
    Rectangle2D area) 
    Draws the block. Since the block is empty, there is nothing to draw except the optional border.
 public Object draw(Graphics2D g2,
    Rectangle2D area,
    Object params) 
    Draws the block within the specified area. Since the block is empty, there is nothing to draw except the optional border.