public static class ArrangeData.FlowData extends ArrangeData
Modifier and Type | Class and Description |
---|---|
static class |
ArrangeData.FlowData.Direction
The direction of the flow.
|
ArrangeData.ArrangeStyle, ArrangeData.FlowData, ArrangeData.InheritedData, ArrangeData.NoneData, ArrangeData.SpringEmbeddedData, ArrangeData.UniversalData
Constructor and Description |
---|
FlowData(Container owner,
ArrangeData.FlowData.Direction flowDirection)
Creates a new flow arrange style data.
|
FlowData(Container owner,
ArrangeData.FlowData.Direction flowDirection,
boolean flowLevels)
Creates a new flow arrange style data.
|
Modifier and Type | Method and Description |
---|---|
ArrangeData.FlowData.Direction |
getFlowDirection()
Returns the current direction of the flow.
|
boolean |
isFlowLevels() |
void |
setFlowDirection(ArrangeData.FlowData.Direction flowDirection)
Sets the direction of the flow.
|
void |
setFlowLevels(boolean flowLevels) |
getUsedData
public FlowData(Container owner, ArrangeData.FlowData.Direction flowDirection)
owner
- the container the data corresponds toflowDirection
- the flow directionpublic FlowData(Container owner, ArrangeData.FlowData.Direction flowDirection, boolean flowLevels)
owner
- the container the data corresponds toflowDirection
- the flow directionflowLevels
- should flow be placed on levelspublic void setFlowDirection(ArrangeData.FlowData.Direction flowDirection)
flowDirection
- the new direction of the flowpublic ArrangeData.FlowData.Direction getFlowDirection()
public boolean isFlowLevels()
public void setFlowLevels(boolean flowLevels)