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 TypeMethodDescriptionvoidJustify bounds of widget children based on a widget client area.voidResolve bounds of widget children based in their preferred locations and bounds.booleanrequiresJustification(Widget widget) Resolve whether a widget requires justification after whole scene layout.
-
Constructor Details
-
FlowLayout
-
-
Method Details
-
layout
Description copied from interface:LayoutResolve bounds of widget children based in their preferred locations and bounds. -
requiresJustification
Description copied from interface:LayoutResolve whether a widget requires justification after whole scene layout.- Specified by:
requiresJustificationin interfaceLayout- Parameters:
widget- the widget- Returns:
- true if requires justification
-
justify
Description copied from interface:LayoutJustify bounds of widget children based on a widget client area.
-