com.jrefinery.layout
Class LCBLayout

java.lang.Object
  extended by com.jrefinery.layout.LCBLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.io.Serializable

public class LCBLayout
extends java.lang.Object
implements java.awt.LayoutManager, java.io.Serializable

Specialised layout manager for a grid of components.

See Also:
Serialized Form

Constructor Summary
LCBLayout(int maxrows)
          Standard constructor - builds a LCBLayout with the specified maximum number of rows.
 
Method Summary
 void addLayoutComponent(java.awt.Component comp)
          Not used.
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          Not used.
 void layoutContainer(java.awt.Container parent)
          Lays out the components.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          Returns the minimum size using this layout manager.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          Returns the preferred size using this layout manager.
 void removeLayoutComponent(java.awt.Component comp)
          Not used.
 void removeLayoutComponent(java.lang.String name, java.awt.Component comp)
          Not used.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LCBLayout

public LCBLayout(int maxrows)
Standard constructor - builds a LCBLayout with the specified maximum number of rows.

Parameters:
maxrows - The maximum number of rows;
Method Detail

preferredLayoutSize

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

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

minimumLayoutSize

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

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager

layoutContainer

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

Specified by:
layoutContainer in interface java.awt.LayoutManager

addLayoutComponent

public void addLayoutComponent(java.awt.Component comp)
Not used.


removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Not used.

Specified by:
removeLayoutComponent in interface java.awt.LayoutManager

addLayoutComponent

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

Specified by:
addLayoutComponent in interface java.awt.LayoutManager

removeLayoutComponent

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



Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.