Package com.spinyowl.legui.system.layout
Class DefaultLayoutManager
java.lang.Object
com.spinyowl.legui.system.layout.LayoutManager
com.spinyowl.legui.system.layout.DefaultLayoutManager
Default layout manager..
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidUsed to layout component and all of his child components.voidUsed to layout frame layers and all of their child components.voidregisterLayout(Style.DisplayType displayType, Layout layout) Used to register layout for specified display type.Methods inherited from class com.spinyowl.legui.system.layout.LayoutManager
getInstance, layout, layout, setInstance
-
Constructor Details
-
DefaultLayoutManager
public DefaultLayoutManager()
-
-
Method Details
-
layout
Used to layout frame layers and all of their child components.- Specified by:
layoutin classLayoutManager- Parameters:
frame- frame to lay out.context- context (used for event generation).
-
registerLayout
Description copied from class:LayoutManagerUsed to register layout for specified display type.- Specified by:
registerLayoutin classLayoutManager- Parameters:
displayType- display type.layout- layout to register.
-
layout
Used to layout component and all of his child components.- Specified by:
layoutin classLayoutManager- Parameters:
component- component to lay out.frame- component frame (for event generation if needed).context- context (used for event generation).
-