All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.CenteredList

java.lang.Object
   |
   +----CH.ifa.draw.standard.AbstractFigure
           |
           +----CH.ifa.draw.standard.CompositeFigure
                   |
                   +----CH.ifa.draw.standard.FigureHolder
                           |
                           +----CH.ifa.draw.standard.ListHolder
                                   |
                                   +----CH.ifa.draw.standard.CenteredList

public class CenteredList
extends ListHolder
A CenteredList keeps its contents stacked vertically and aligned horizontally along their centroids.


Constructor Index

 o CenteredList()
 o CenteredList(Point, Point)
 o CenteredList(Point, Point, Margins)

Method Index

 o getBottomElementAligner(Figure)
Gets the aligner for the bottom element of the list.
 o getMiddleElementAligner(Figure)
Gets the aligner for a middle element of the list.
 o getTopElementAligner()
Gets the aligner for the top element of the list.

Constructors

 o CenteredList
 public CenteredList()
 o CenteredList
 public CenteredList(Point origin,
                     Point corner)
 o CenteredList
 public CenteredList(Point origin,
                     Point corner,
                     Margins margins)

Methods

 o getTopElementAligner
 protected Aligner getTopElementAligner()
Gets the aligner for the top element of the list.

Overrides:
getTopElementAligner in class ListHolder
 o getMiddleElementAligner
 protected Aligner getMiddleElementAligner(Figure previous)
Gets the aligner for a middle element of the list.

Overrides:
getMiddleElementAligner in class ListHolder
 o getBottomElementAligner
 protected Aligner getBottomElementAligner(Figure previous)
Gets the aligner for the bottom element of the list.

Overrides:
getBottomElementAligner in class ListHolder

All Packages  Class Hierarchy  This Package  Previous  Next  Index