public abstract class HorizontalAxisLayoutStrategy extends AxisLayoutStrategyBase
axes
Constructor and Description |
---|
HorizontalAxisLayoutStrategy() |
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 horizontal layout strategy
|
protected static void |
layoutFromBottomToTop(int left,
int bottom,
int right,
java.util.List<IAxis> axes)
Helper method for layout axes horizontally from bottom to top
|
protected static void |
layoutFromTopToBottom(int left,
int top,
int right,
java.util.List<IAxis> axes)
Helper method for layout axes horizontally from top to bottom
|
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 layoutFromTopToBottom(int left, int top, int right, java.util.List<IAxis> axes)
left
- The left bounds for this layout strategytop
- The top bounds for this layout strategyright
- The right bounds for this layout strategyaxes
- The axes to perform layout onprotected static void layoutFromBottomToTop(int left, int bottom, int right, java.util.List<IAxis> axes)
left
- The left bounds for this layout strategybottom
- The bottom bounds for this layout strategyright
- The right bounds for this layout strategyaxes
- The axes to perform layout on