Package org.jfree.chart.ui
Class LCBLayout
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
ConstructorsConstructorDescriptionLCBLayout(int maxrows) Creates a new LCBLayout with the specified maximum number of rows. -
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 using this layout manager.preferredLayoutSize(Container parent) Returns the preferred size using this layout manager.voidNot used.voidremoveLayoutComponent(String name, Component comp) Not used.
-
Constructor Details
-
LCBLayout
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:
preferredLayoutSizein interfaceLayoutManager- Parameters:
parent- the parent.- Returns:
- the preferred size using this layout manager.
-
minimumLayoutSize
Returns the minimum size using this layout manager.- Specified by:
minimumLayoutSizein interfaceLayoutManager- Parameters:
parent- the parent.- Returns:
- the minimum size using this layout manager.
-
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.
-