public class LCBLayout extends Object implements LayoutManager, Serializable
Constructor and Description |
---|
LCBLayout(int maxrows)
Creates a new LCBLayout with the specified maximum number of rows.
|
Modifier and Type | Method and 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.
|
public LCBLayout(int maxrows)
maxrows
- the maximum number of rows.public Dimension preferredLayoutSize(Container parent)
preferredLayoutSize
in interface LayoutManager
parent
- the parent.public Dimension minimumLayoutSize(Container parent)
minimumLayoutSize
in interface LayoutManager
parent
- the parent.public void layoutContainer(Container parent)
layoutContainer
in interface LayoutManager
parent
- the parent.public void addLayoutComponent(Component comp)
comp
- the component.public void removeLayoutComponent(Component comp)
removeLayoutComponent
in interface LayoutManager
comp
- the component.public void addLayoutComponent(String name, Component comp)
addLayoutComponent
in interface LayoutManager
name
- the component name.comp
- the component.Copyright © 2001–2017 JFree.org. All rights reserved.