Class FlowLayout

java.lang.Object
hec.map.annotations.layout.FlowLayout
All Implemented Interfaces:
Layout

public final class FlowLayout extends Object implements Layout
  • Constructor Details

  • Method Details

    • layout

      public void layout(Widget widget)
      Description copied from interface: Layout
      Resolve bounds of widget children based in their preferred locations and bounds.
      Specified by:
      layout in interface Layout
      Parameters:
      widget - the widget
    • requiresJustification

      public boolean requiresJustification(Widget widget)
      Description copied from interface: Layout
      Resolve whether a widget requires justification after whole scene layout.
      Specified by:
      requiresJustification in interface Layout
      Parameters:
      widget - the widget
      Returns:
      true if requires justification
    • justify

      public void justify(Widget widget)
      Description copied from interface: Layout
      Justify bounds of widget children based on a widget client area.
      Specified by:
      justify in interface Layout
      Parameters:
      widget - the widget