Package org.jfree.layout
Class LCBLayout
- java.lang.Object
-
- org.jfree.layout.LCBLayout
-
- All Implemented Interfaces:
LayoutManager
,Serializable
public class LCBLayout extends Object implements LayoutManager, Serializable
Specialised layout manager for a grid of components.- Author:
- David Gilbert
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LCBLayout(int maxrows)
Creates a new LCBLayout with the specified maximum number of rows.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLayoutComponent(Component comp)
Not used.void
addLayoutComponent(String name, Component comp)
Not used.void
layoutContainer(Container parent)
Lays out the components.Dimension
minimumLayoutSize(Container parent)
Returns the minimum size using this layout manager.Dimension
preferredLayoutSize(Container parent)
Returns the preferred size using this layout manager.void
removeLayoutComponent(Component comp)
Not used.void
removeLayoutComponent(String name, Component comp)
Not used.
-
-
-
Method Detail
-
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
Returns the preferred size using this layout manager.- Specified by:
preferredLayoutSize
in interfaceLayoutManager
- Parameters:
parent
- the parent.- Returns:
- the preferred size using this layout manager.
-
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
Returns the minimum size using this layout manager.- Specified by:
minimumLayoutSize
in interfaceLayoutManager
- Parameters:
parent
- the parent.- Returns:
- the minimum size using this layout manager.
-
layoutContainer
public void layoutContainer(Container parent)
Lays out the components.- Specified by:
layoutContainer
in interfaceLayoutManager
- Parameters:
parent
- the parent.
-
addLayoutComponent
public void addLayoutComponent(Component comp)
Not used.- Parameters:
comp
- the component.
-
removeLayoutComponent
public void removeLayoutComponent(Component comp)
Not used.- Specified by:
removeLayoutComponent
in interfaceLayoutManager
- Parameters:
comp
- the component.
-
addLayoutComponent
public void addLayoutComponent(String name, Component comp)
Not used.- Specified by:
addLayoutComponent
in interfaceLayoutManager
- Parameters:
name
- the component name.comp
- the component.
-
-