java.lang.Object
org.jfree.chart.ui.LCBLayout
- All Implemented Interfaces:
LayoutManager
,Serializable
Specialised layout manager for a grid of components.
- See Also:
-
Constructor Summary
ConstructorDescriptionLCBLayout
(int maxrows) Creates a new LCBLayout with the specified maximum number of rows. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLayoutComponent
(Component comp) Not used.void
addLayoutComponent
(String name, Component comp) Not used.void
layoutContainer
(Container parent) Lays out the components.minimumLayoutSize
(Container parent) Returns the minimum size using this layout manager.preferredLayoutSize
(Container parent) Returns the preferred size using this layout manager.void
Not used.void
removeLayoutComponent
(String name, Component comp) Not used.
-
Constructor Details
-
LCBLayout
public LCBLayout(int maxrows) Creates a new LCBLayout with the specified maximum number of rows.- Parameters:
maxrows
- the maximum number of rows.
-
-
Method Details
-
preferredLayoutSize
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
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
Lays out the components.- Specified by:
layoutContainer
in interfaceLayoutManager
- Parameters:
parent
- the parent.
-
addLayoutComponent
Not used.- Parameters:
comp
- the component.
-
removeLayoutComponent
Not used.- Specified by:
removeLayoutComponent
in interfaceLayoutManager
- Parameters:
comp
- the component.
-
addLayoutComponent
Not used.- Specified by:
addLayoutComponent
in interfaceLayoutManager
- Parameters:
name
- the component name.comp
- the component.
-
removeLayoutComponent
Not used.- Parameters:
name
- the component name.comp
- the component.
-