Class CenterLayout
java.lang.Object
org.jfree.report.modules.gui.swing.common.CenterLayout
- All Implemented Interfaces:
LayoutManager,Serializable
A layout manager that displays a single component in the center of its container.
- Author:
- David Gilbert
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayoutComponent(Component comp) Not used.voidaddLayoutComponent(String name, Component comp) Not used.voidlayoutContainer(Container parent) Lays out the components.minimumLayoutSize(Container parent) Returns the minimum size.preferredLayoutSize(Container parent) Returns the preferred size.voidNot used.voidremoveLayoutComponent(String name, Component comp) Not used.
-
Constructor Details
-
CenterLayout
public CenterLayout()Creates a new layout manager.
-
-
Method Details
-
preferredLayoutSize
Returns the preferred size.- Specified by:
preferredLayoutSizein interfaceLayoutManager- Parameters:
parent- the parent.- Returns:
- the preferred size.
-
minimumLayoutSize
Returns the minimum size.- Specified by:
minimumLayoutSizein interfaceLayoutManager- Parameters:
parent- the parent.- Returns:
- the minimum size.
-
layoutContainer
Lays out the components.- Specified by:
layoutContainerin interfaceLayoutManager- Parameters:
parent- the parent.
-
addLayoutComponent
Not used.- Parameters:
comp- the component.
-
removeLayoutComponent
Not used.- Specified by:
removeLayoutComponentin interfaceLayoutManager- Parameters:
comp- the component.
-
addLayoutComponent
Not used.- Specified by:
addLayoutComponentin interfaceLayoutManager- Parameters:
name- the component name.comp- the component.
-
removeLayoutComponent
Not used.- Parameters:
name- the component name.comp- the component.
-