org.jdesktop.swingx
Class JXRootPane.XRootLayout
java.lang.Object
javax.swing.JRootPane.RootLayout
org.jdesktop.swingx.JXRootPane.XRootLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2, Serializable
- Enclosing class:
- JXRootPane
protected class JXRootPane.XRootLayout
- extends JRootPane.RootLayout
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JXRootPane.XRootLayout
protected JXRootPane.XRootLayout()
setLayoutManager
public void setLayoutManager(LayoutManager2 delegate)
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Returns the amount of space the layout would like to have.
- Specified by:
preferredLayoutSize in interface LayoutManager- Overrides:
preferredLayoutSize in class JRootPane.RootLayout
- Parameters:
parent - the Container for which this layout manager
is being used
- Returns:
- a Dimension object containing the layout's preferred size
- See Also:
LayoutManager.minimumLayoutSize(java.awt.Container)
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Returns the minimum amount of space the layout needs.
- Specified by:
minimumLayoutSize in interface LayoutManager- Overrides:
minimumLayoutSize in class JRootPane.RootLayout
- Parameters:
parent - the Container for which this layout manager
is being used
- Returns:
- a Dimension object containing the layout's minimum size
- See Also:
LayoutManager.preferredLayoutSize(java.awt.Container)
maximumLayoutSize
public Dimension maximumLayoutSize(Container target)
- Returns the maximum amount of space the layout can use.
- Specified by:
maximumLayoutSize in interface LayoutManager2- Overrides:
maximumLayoutSize in class JRootPane.RootLayout
- Parameters:
target - the Container for which this layout manager
is being used
- Returns:
- a Dimension object containing the layout's maximum size
- See Also:
Component.getMaximumSize(),
LayoutManager
layoutContainer
public void layoutContainer(Container parent)
- Instructs the layout manager to perform the layout for the specified
container.
- Specified by:
layoutContainer in interface LayoutManager- Overrides:
layoutContainer in class JRootPane.RootLayout
- Parameters:
parent - the Container for which this layout manager
is being used