org.jfree.layout

Class LCBLayout

public class LCBLayout extends Object implements LayoutManager, Serializable

Specialised layout manager for a grid of components.

Author: David Gilbert

Constructor Summary
LCBLayout(int maxrows)
Creates a new LCBLayout with the specified maximum number of rows.
Method Summary
voidaddLayoutComponent(Component comp)
Not used.
voidaddLayoutComponent(String name, Component comp)
Not used.
voidlayoutContainer(Container parent)
Lays out the components.
DimensionminimumLayoutSize(Container parent)
Returns the minimum size using this layout manager.
DimensionpreferredLayoutSize(Container parent)
Returns the preferred size using this layout manager.
voidremoveLayoutComponent(Component comp)
Not used.
voidremoveLayoutComponent(String name, Component comp)
Not used.

Constructor Detail

LCBLayout

public LCBLayout(int maxrows)
Creates a new LCBLayout with the specified maximum number of rows.

Parameters: maxrows the maximum number of rows.

Method Detail

addLayoutComponent

public void addLayoutComponent(Component comp)
Not used.

Parameters: comp the component.

addLayoutComponent

public void addLayoutComponent(String name, Component comp)
Not used.

Parameters: name the component name. comp the component.

layoutContainer

public void layoutContainer(Container parent)
Lays out the components.

Parameters: parent the parent.

minimumLayoutSize

public Dimension minimumLayoutSize(Container parent)
Returns the minimum size using this layout manager.

Parameters: parent the parent.

Returns: the minimum size using this layout manager.

preferredLayoutSize

public Dimension preferredLayoutSize(Container parent)
Returns the preferred size using this layout manager.

Parameters: parent the parent.

Returns: the preferred size using this layout manager.

removeLayoutComponent

public void removeLayoutComponent(Component comp)
Not used.

Parameters: comp the component.

removeLayoutComponent

public void removeLayoutComponent(String name, Component comp)
Not used.

Parameters: name the component name. comp the component.