Class RadianceRootPaneUI.RadianceRootLayout
java.lang.Object
org.pushingpixels.radiance.theming.internal.ui.RadianceRootPaneUI.RadianceRootLayout
- All Implemented Interfaces:
LayoutManager, LayoutManager2
- Enclosing class:
RadianceRootPaneUI
A custom layout manager that is responsible for the layout of layeredPane, glassPane, menuBar
and titlePane, if one has been installed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(Component comp, Object constraints) voidaddLayoutComponent(String name, Component comp) floatgetLayoutAlignmentX(Container target) floatgetLayoutAlignmentY(Container target) voidinvalidateLayout(Container target) voidlayoutContainer(Container parent) Instructs the layout manager to perform the layout for the specified container.maximumLayoutSize(Container target) Returns the maximum amount of space the layout can use.minimumLayoutSize(Container parent) Returns the minimum amount of space the layout needs.preferredLayoutSize(Container parent) Returns the amount of space the layout would like to have.void
-
Constructor Details
-
RadianceRootLayout
protected RadianceRootLayout()
-
-
Method Details
-
preferredLayoutSize
Returns the amount of space the layout would like to have.aram the Container for which this layout manager is being used
- Specified by:
preferredLayoutSizein interfaceLayoutManager- Returns:
- a Dimension object containing the layout's preferred size
-
minimumLayoutSize
Returns the minimum amount of space the layout needs.aram the Container for which this layout manager is being used
- Specified by:
minimumLayoutSizein interfaceLayoutManager- Returns:
- a Dimension object containing the layout's minimum size
-
maximumLayoutSize
Returns the maximum amount of space the layout can use.aram the Container for which this layout manager is being used
- Specified by:
maximumLayoutSizein interfaceLayoutManager2- Returns:
- a Dimension object containing the layout's maximum size
-
layoutContainer
Instructs the layout manager to perform the layout for the specified container.aram the Container for which this layout manager is being used
- Specified by:
layoutContainerin interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponentin interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponentin interfaceLayoutManager2
-
getLayoutAlignmentX
- Specified by:
getLayoutAlignmentXin interfaceLayoutManager2
-
getLayoutAlignmentY
- Specified by:
getLayoutAlignmentYin interfaceLayoutManager2
-
invalidateLayout
- Specified by:
invalidateLayoutin interfaceLayoutManager2
-