org.jfree.layout

Class LCBLayout

Implemented Interfaces:
LayoutManager, Serializable

public class LCBLayout
extends java.lang.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

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.

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

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.