All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.TopCenteringAligner

java.lang.Object
   |
   +----CH.ifa.draw.standard.TopCenteringAligner

public class TopCenteringAligner
extends Object
implements Aligner
A TopCenteringAligner computes a position for a figure so that it is centered horizontally within the display box of its holder and positioned below the top edge of the display box of its holder.


Variable Index

 o fHolder

Constructor Index

 o TopCenteringAligner(FigureHolder)

Method Index

 o align(Figure)

Variables

 o fHolder
 protected FigureHolder fHolder

Constructors

 o TopCenteringAligner
 public TopCenteringAligner(FigureHolder holder)

Methods

 o align
 public Point align(Figure child)

All Packages  Class Hierarchy  This Package  Previous  Next  Index