All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.contrib.xcomp.BagFlowLayout2

CH.ifa.draw.contrib.xcomp.BagLayout
   |
   +----CH.ifa.draw.contrib.xcomp.AbstractFlowLayout
           |
           +----CH.ifa.draw.contrib.xcomp.BagFlowLayout
                   |
                   +----CH.ifa.draw.contrib.xcomp.BagFlowLayout2

public class BagFlowLayout2
extends BagFlowLayout
The basic implementation for list-like layout strategies. Like BagLayout this layout manager positions the contained figures 'as they were'. That is, no positioning is performed. This is an example implementation that shows how the mechanisms of super classes are used to create specialized layout managers.


Constructor Index

 o BagFlowLayout2()

Method Index

 o overlayMinimumRectangle(CompositeFigure, Rectangle)
Positions the minimum size rectangle flush to the edge or corner furthest away from the manipulator.

Constructors

 o BagFlowLayout2
 public BagFlowLayout2()

Methods

 o overlayMinimumRectangle
 public void overlayMinimumRectangle(CompositeFigure container,
                                     Rectangle minimum)
Positions the minimum size rectangle flush to the edge or corner furthest away from the manipulator.

Overrides:
overlayMinimumRectangle in class BagFlowLayout

All Packages  Class Hierarchy  This Package  Previous  Next  Index