de.uni_paderborn.fujaba.fsa.swing
Class SeparatedPanelLayout

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

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

The layouter for the JSeparatedComponent.

Version:
$Revision: 1.16 $
Author:
$Author: lowende $

Field Summary
protected  int gap
          Specifies the distance between the panel border and its components.
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          Overwrites the addLayoutComponent of LayoutManager.
static SeparatedPanelLayout get()
          No comment provided by developer, please add a comment to improve documentation.
 void layoutContainer(java.awt.Container parent)
          Overwrites the layoutContainer method of the LayoutManager interface.
 java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
          Calculates the maximum layout size of the container.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          calculates the minimum layout size of the container.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          This method calculates the preferredSize of the Container.
 void removeLayoutComponent(java.awt.Component comp)
          Overwrites the removeLayoutComponent of LayoutManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gap

protected int gap
Specifies the distance between the panel border and its components.

Method Detail

get

public static SeparatedPanelLayout get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Overwrites the addLayoutComponent of LayoutManager. This method is empty.

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)
Overwrites the removeLayoutComponent of LayoutManager. This method is empty.

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)
calculates the minimum layout size of the container.

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

maximumLayoutSize

public java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
Calculates the maximum layout size of the container.

Parameters:
parent - No description provided
Returns:
No description provided

layoutContainer

public void layoutContainer(java.awt.Container parent)
Overwrites the layoutContainer method of the LayoutManager interface.

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