public abstract class VerticalAxisLayoutStrategy extends AxisLayoutStrategyBase
axes
Constructor and Description |
---|
VerticalAxisLayoutStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
addAxis(IAxis axis)
Adds axis into this
IAxisLayoutStrategy instance |
protected static int |
getRequiredAxisSize(AxisLayoutState axisLayoutState)
Helper method which measures required size of axis for this vertical layout strategy
|
protected static void |
layoutFromLeftToRight(int left,
int top,
int bottom,
java.util.List<IAxis> axes)
Helper method for layout axes vertically from left to right
|
protected static void |
layoutFromRightToLeft(int right,
int top,
int bottom,
java.util.List<IAxis> axes)
Helper method for layout axes vertically from right to left
|
removeAxis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
layoutAxes, measureAxes
public void addAxis(IAxis axis)
IAxisLayoutStrategy
instanceaddAxis
in interface IAxisLayoutStrategy
addAxis
in class AxisLayoutStrategyBase
axis
- The axis to addprotected static int getRequiredAxisSize(AxisLayoutState axisLayoutState)
axisLayoutState
- The layout state of IAxis
protected static void layoutFromLeftToRight(int left, int top, int bottom, java.util.List<IAxis> axes)
left
- The left bounds for this layout strategytop
- The top bounds for this layout strategybottom
- The bottom bounds for this layout strategyaxes
- The axes to perform layout onprotected static void layoutFromRightToLeft(int right, int top, int bottom, java.util.List<IAxis> axes)
right
- The right bounds for this layout strategytop
- The top bounds for this layout strategybottom
- The bottom bounds for this layout strategyaxes
- The axes to perform layout on