Package hec.map.annotations.layout
Class FlowLayout
java.lang.Object
hec.map.annotations.layout.FlowLayout
- All Implemented Interfaces:
Layout
-
Constructor Summary
ConstructorsConstructorDescriptionFlowLayout
(boolean verticalOrientation, LayoutFactory.SerialAlignment alignment, int gap) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Justify bounds of widget children based on a widget client area.void
Resolve bounds of widget children based in their preferred locations and bounds.boolean
requiresJustification
(Widget widget) Resolve whether a widget requires justification after whole scene layout.
-
Constructor Details
-
FlowLayout
-
-
Method Details
-
layout
Description copied from interface:Layout
Resolve bounds of widget children based in their preferred locations and bounds. -
requiresJustification
Description copied from interface:Layout
Resolve whether a widget requires justification after whole scene layout.- Specified by:
requiresJustification
in interfaceLayout
- Parameters:
widget
- the widget- Returns:
- true if requires justification
-
justify
Description copied from interface:Layout
Justify bounds of widget children based on a widget client area.
-