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 TypeMethodDescriptionvoid
addLayoutComponent
(Component comp, Object constraints) void
addLayoutComponent
(String name, Component comp) float
getLayoutAlignmentX
(Container target) float
getLayoutAlignmentY
(Container target) void
invalidateLayout
(Container target) void
layoutContainer
(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:
preferredLayoutSize
in 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:
minimumLayoutSize
in 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:
maximumLayoutSize
in 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:
layoutContainer
in interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager
-
removeLayoutComponent
- Specified by:
removeLayoutComponent
in interfaceLayoutManager
-
addLayoutComponent
- Specified by:
addLayoutComponent
in interfaceLayoutManager2
-
getLayoutAlignmentX
- Specified by:
getLayoutAlignmentX
in interfaceLayoutManager2
-
getLayoutAlignmentY
- Specified by:
getLayoutAlignmentY
in interfaceLayoutManager2
-
invalidateLayout
- Specified by:
invalidateLayout
in interfaceLayoutManager2
-