All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.ifa.draw.standard.RelativeAligner

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

public class RelativeAligner
extends Object
implements Aligner
a RelativeAligner remembers a childs relative position to the origin of the display box of the childs holder. It aligns the child keeping that relative position.


Variable Index

 o fHolder
 o relPos

Constructor Index

 o RelativeAligner(FigureHolder, Figure)

Method Index

 o align(Figure)

Variables

 o fHolder
 protected FigureHolder fHolder
 o relPos
 protected Point relPos

Constructors

 o RelativeAligner
 public RelativeAligner(FigureHolder holder,
                        Figure child)

Methods

 o align
 public Point align(Figure child)

All Packages  Class Hierarchy  This Package  Previous  Next  Index