Package com.spinyowl.legui.system.layout
Class LayoutManager
java.lang.Object
com.spinyowl.legui.system.layout.LayoutManager
- Direct Known Subclasses:
DefaultLayoutManager
Layout manager. Used to layout component and it's child components..
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayoutManagerReturns layout manager instance.voidUsed to layout component and all of his child components.abstract voidUsed to layout component and all of his child components.voidUsed to layout frame layers and all of their child components.abstract voidUsed to layout frame layers and all of their child components.abstract voidregisterLayout(Style.DisplayType displayType, Layout layout) Used to register layout for specified display type.static voidsetInstance(LayoutManager instance) Used to set layout manager instance.
-
Constructor Details
-
LayoutManager
public LayoutManager()
-
-
Method Details
-
getInstance
Returns layout manager instance.- Returns:
- layout manager instance.
-
setInstance
Used to set layout manager instance.- Parameters:
instance- layout manager instance to set.
-
registerLayout
Used to register layout for specified display type.- Parameters:
displayType- display type.layout- layout to register.
-
layout
Used to layout frame layers and all of their child components.- Parameters:
frame- frame to lay out.
-
layout
Used to layout frame layers and all of their child components.- Parameters:
frame- frame to lay out.context- context (used for event generation).
-
layout
Used to layout component and all of his child components.- Parameters:
component- component to lay out.
-
layout
Used to layout component and all of his child components.- Parameters:
component- component to lay out.frame- component frame (for event generation if needed).context- context (used for event generation).
-