All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.CenteringHolder
java.lang.Object
|
+----CH.ifa.draw.standard.AbstractFigure
|
+----CH.ifa.draw.standard.CompositeFigure
|
+----CH.ifa.draw.standard.FigureHolder
|
+----CH.ifa.draw.standard.CenteringHolder
- public class CenteringHolder
- extends FigureHolder
A transient development class. To be removed.
-
CenteringHolder()
-
-
CenteringHolder(Point, Point)
-
-
CenteringHolder(Point, Point, Margins)
-
-
arrange()
- Fill the arrangement vector with Aligner objects
for the contained subfigures.
-
beginDrag(Figure)
-
Tell this that a child is about to be dragged.
-
findPos(Figure)
- Find the position of figure among the subfigures according to the current
layout strategy.
-
setChildAligner(Figure)
-
Reassigns aligners for all figures because the ordering
of the figures might have changed.
-
setChildAligners()
-
Set the aligners of the contained figures.
CenteringHolder
public CenteringHolder()
CenteringHolder
public CenteringHolder(Point origin,
Point corner)
CenteringHolder
public CenteringHolder(Point origin,
Point corner,
Margins margins)
findPos
protected int findPos(Figure figure)
- Find the position of figure among the subfigures according to the current
layout strategy.
- Overrides:
- findPos in class FigureHolder
arrange
protected void arrange()
- Fill the arrangement vector with Aligner objects
for the contained subfigures. Call setChildAligners to make
sure that the children have correct aligner objects (ordering
may have changed when this method is called).
- Overrides:
- arrange in class FigureHolder
setChildAligner
protected void setChildAligner(Figure child)
- Reassigns aligners for all figures because the ordering
of the figures might have changed.
- Overrides:
- setChildAligner in class FigureHolder
setChildAligners
protected void setChildAligners()
- Set the aligners of the contained figures. The topmost child gets a
TopCenteringAligner and the rest a MiddleCenteringAligner.
beginDrag
public void beginDrag(Figure child)
- Tell this that a child is about to be dragged. ??
- Overrides:
- beginDrag in class FigureHolder
All Packages Class Hierarchy This Package Previous Next Index