Class VerticalAxisLayoutStrategy
Base layout strategy class for vertical layout of axes
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class VerticalAxisLayoutStrategy extends layoutManagers.AxisLayoutStrategyBase
Constructors
VerticalAxisLayoutStrategy()
Declaration
public VerticalAxisLayoutStrategy()
Methods
addAxis(IAxis axis)
Adds axis into this IAxisLayoutStrategy instance
Declaration
public void addAxis(IAxis axis)
Parameters
| Type | Name | Description |
|---|---|---|
| IAxis | axis |
Overrides
getRequiredAxisSize(AxisLayoutState axisLayoutState)
Helper method which measures required size of axis for this vertical layout strategy
Declaration
protected static int getRequiredAxisSize(AxisLayoutState axisLayoutState)
Parameters
| Type | Name | Description |
|---|---|---|
| AxisLayoutState | axisLayoutState | The layout state of IAxis |
Returns
| Type | Description |
|---|---|
| int | The desired size in pixels |
layoutFromLeftToRight(int left, int top, int bottom, List<IAxis> axes)
Helper method for layout axes vertically from left to right
Declaration
protected static void layoutFromLeftToRight(int left, int top, int bottom, List<IAxis> axes)
Parameters
| Type | Name | Description |
|---|---|---|
| int | left | The left bounds for this layout strategy |
| int | top | The top bounds for this layout strategy |
| int | bottom | The bottom bounds for this layout strategy |
| List<IAxis> | axes | The axes to perform layout on |
layoutFromRightToLeft(int right, int top, int bottom, List<IAxis> axes)
Helper method for layout axes vertically from right to left
Declaration
protected static void layoutFromRightToLeft(int right, int top, int bottom, List<IAxis> axes)
Parameters
| Type | Name | Description |
|---|---|---|
| int | right | The right bounds for this layout strategy |
| int | top | The top bounds for this layout strategy |
| int | bottom | The bottom bounds for this layout strategy |
| List<IAxis> | axes | The axes to perform layout on |