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

All Implemented Interfaces:
    Arrangement, Serializable

An arrangement manager that lays out blocks in a similar way to Swing's BorderLayout class.
Constructor:
 public BorderArrangement() 
Method from org.jfree.chart.block.BorderArrangement Summary:
add,   arrange,   arrangeFF,   arrangeFN,   arrangeFR,   arrangeNN,   arrangeRR,   clear,   equals
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.chart.block.BorderArrangement Detail:
 public  void add(Block block,
    Object key) 
    Adds a block to the arrangement manager at the specified edge.
 public Size2D arrange(BlockContainer container,
    Graphics2D g2,
    RectangleConstraint constraint) 
    Arranges the items in the specified container, subject to the given constraint.
 protected Size2D arrangeFF(BlockContainer container,
    Graphics2D g2,
    RectangleConstraint constraint) 
    Arranges the items within a container.
 protected Size2D arrangeFN(BlockContainer container,
    Graphics2D g2,
    double width) 
    Arranges the container width a fixed width and no constraint on the height.
 protected Size2D arrangeFR(BlockContainer container,
    Graphics2D g2,
    RectangleConstraint constraint) 
    Performs an arrangement with a fixed width and a range for the height.
 protected Size2D arrangeNN(BlockContainer container,
    Graphics2D g2) 
    Performs an arrangement without constraints.
 protected Size2D arrangeRR(BlockContainer container,
    Range widthRange,
    Range heightRange,
    Graphics2D g2) 
    Performs an arrangement with range constraints on both the vertical and horizontal sides.
 public  void clear() 
    Clears the layout.
 public boolean equals(Object obj) 
    Tests this arrangement for equality with an arbitrary object.