Class DefaultLayoutManager

java.lang.Object
com.spinyowl.legui.system.layout.LayoutManager
com.spinyowl.legui.system.layout.DefaultLayoutManager

public class DefaultLayoutManager extends LayoutManager
Default layout manager..
  • Constructor Details

    • DefaultLayoutManager

      public DefaultLayoutManager()
  • Method Details

    • layout

      public void layout(Frame frame, Context context)
      Used to layout frame layers and all of their child components.
      Specified by:
      layout in class LayoutManager
      Parameters:
      frame - frame to lay out.
      context - context (used for event generation).
    • registerLayout

      public void registerLayout(Style.DisplayType displayType, Layout layout)
      Description copied from class: LayoutManager
      Used to register layout for specified display type.
      Specified by:
      registerLayout in class LayoutManager
      Parameters:
      displayType - display type.
      layout - layout to register.
    • layout

      public void layout(Component component, Frame frame, Context context)
      Used to layout component and all of his child components.
      Specified by:
      layout in class LayoutManager
      Parameters:
      component - component to lay out.
      frame - component frame (for event generation if needed).
      context - context (used for event generation).