org.jfree.layout
Class CenterLayout
java.lang.Object
org.jfree.layout.CenterLayout
- LayoutManager, Serializable
extends java.lang.Object
implements LayoutManager, Serializable
A layout manager that displays a single component in the center of its
container.
CenterLayout
public CenterLayout()
Creates a new layout manager.
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
Not used.
name
- the component name.comp
- the component.
layoutContainer
public void layoutContainer(Container parent)
Lays out the components.
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
Returns the minimum size.
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
Returns the preferred size.
removeLayoutComponent
public void removeLayoutComponent(String name,
Component comp)
Not used.
name
- the component name.comp
- the component.