All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.contrib.xcomp.VListCenteringLayout

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

public class VListCenteringLayout
extends VListLayout
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 VListCenteringLayout()

Method Index

 o getBottomElementAligner(CompositeFigure, Figure, Figure)
Returns a NullAligner.
 o getMiddleElementAligner(CompositeFigure, Figure, Figure)
Returns a NullAligner.
 o getTopElementAligner(CompositeFigure, Figure)
Returns a NullAligner.

Constructors

 o VListCenteringLayout
 public VListCenteringLayout()

Methods

 o getTopElementAligner
 protected Aligner getTopElementAligner(CompositeFigure container,
                                        Figure component)
Returns a NullAligner.

Overrides:
getTopElementAligner in class VListLayout
 o getMiddleElementAligner
 protected Aligner getMiddleElementAligner(CompositeFigure container,
                                           Figure component,
                                           Figure previous)
Returns a NullAligner.

Overrides:
getMiddleElementAligner in class VListLayout
 o getBottomElementAligner
 protected Aligner getBottomElementAligner(CompositeFigure container,
                                           Figure component,
                                           Figure previous)
Returns a NullAligner.

Overrides:
getBottomElementAligner in class VListLayout

All Packages  Class Hierarchy  This Package  Previous  Next  Index