de.uni_paderborn.fujaba.fsa.swing
Class LifeLineLayout

java.lang.Object
  extended byde.uni_paderborn.fujaba.fsa.swing.LifeLineLayout
All Implemented Interfaces:
java.awt.LayoutManager

public class LifeLineLayout
extends java.lang.Object
implements java.awt.LayoutManager

$Id: LifeLineLayout.java,v 1.8 2004/10/20 17:49:47 schneider Exp $ This LayoutManager layouts the components in a column or a row without changing their sizes. This LayoutManager was written as an replacement for the GridLayout with one row or one column.

Version:
$Revision: 1.8 $
Author:
$Author: schneider $

Constructor Summary
LifeLineLayout()
          Constructor for class LifeLineLayout
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          Access method for an one to n association.
 void layoutContainer(java.awt.Container parent)
          This method moves the objects to their places and set the sizes they prefer.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          The minimumLayout Size is for this LayoutManager the same as the preferredLayoutSize.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          This method calculates the preferredSize of the Container.
 void removeLayoutComponent(java.awt.Component comp)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeLineLayout

public LifeLineLayout()
Constructor for class LifeLineLayout

Method Detail

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Access method for an one to n association.

Specified by:
addLayoutComponent in interface java.awt.LayoutManager
Parameters:
name - The object added.
comp - The object added.

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeLayoutComponent in interface java.awt.LayoutManager
Parameters:
comp - No description provided

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
This method calculates the preferredSize of the Container. Between the objects and around them is the gap.

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
Parameters:
parent - No description provided
Returns:
No description provided

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
The minimumLayout Size is for this LayoutManager the same as the preferredLayoutSize.

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
Parameters:
parent - No description provided
Returns:
No description provided

layoutContainer

public void layoutContainer(java.awt.Container parent)
This method moves the objects to their places and set the sizes they prefer.

Specified by:
layoutContainer in interface java.awt.LayoutManager
Parameters:
parent - No description provided