de.uni_paderborn.fujaba.fsa.swing
Class RoleLayout

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

public class RoleLayout
extends java.lang.Object
implements java.awt.LayoutManager2

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.11 $
Author:
$Author: lowende $

Constructor Summary
RoleLayout(JGrab grab, javax.swing.JComponent adornmentComponent, javax.swing.JComponent roleComponent, javax.swing.JComponent cardComponent)
          Constructor for class RoleLayout
 
Method Summary
 void addLayoutComponent(java.awt.Component comp, java.lang.Object constraints)
          Access method for an one to n association.
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          Access method for an one to n association.
protected  java.awt.Dimension calculateSize(java.awt.Container parent, java.awt.Dimension adornDim, java.awt.Dimension roleDim, java.awt.Dimension cardDim)
          No comment provided by developer, please add a comment to improve documentation.
 javax.swing.JComponent getAdornmentComponent()
          Get the adornmentComponent attribute of the RoleLayout object
 javax.swing.JComponent getCardComponent()
          Get the cardComponent attribute of the RoleLayout object
 JGrab getGrab()
          Get the grab attribute of the RoleLayout object
 float getLayoutAlignmentX(java.awt.Container target)
          Get the layoutAlignmentX attribute of the RoleLayout object
 float getLayoutAlignmentY(java.awt.Container target)
          Get the layoutAlignmentY attribute of the RoleLayout object
 javax.swing.JComponent getRoleComponent()
          Get the roleComponent attribute of the RoleLayout object
 void invalidateLayout(java.awt.Container target)
          No comment provided by developer, please add a comment to improve documentation.
 void layoutContainer(java.awt.Container parent)
          Instructs the layout manager to perform the layout for the specified container.
 java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
          Returns the maximum amount of space the layout can use.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          Returns the minimum amount of space the layout needs.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          Returns the amount of space the layout would like to have.
 void removeLayoutComponent(java.awt.Component comp)
          No comment provided by developer, please add a comment to improve documentation.
 boolean setAdornmentComponent(javax.swing.JComponent value)
          Sets the adornmentComponent attribute of the RoleLayout object
 boolean setCardComponent(javax.swing.JComponent value)
          Sets the cardComponent attribute of the RoleLayout object
 boolean setGrab(JGrab value)
          Sets the grab attribute of the RoleLayout object
 boolean setRoleComponent(javax.swing.JComponent value)
          Sets the roleComponent attribute of the RoleLayout object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleLayout

public RoleLayout(JGrab grab,
                  javax.swing.JComponent adornmentComponent,
                  javax.swing.JComponent roleComponent,
                  javax.swing.JComponent cardComponent)
Constructor for class RoleLayout

Parameters:
grab - No description provided
adornmentComponent - No description provided
roleComponent - No description provided
cardComponent - No description provided
Method Detail

setCardComponent

public boolean setCardComponent(javax.swing.JComponent value)
Sets the cardComponent attribute of the RoleLayout object

Parameters:
value - The new cardComponent value
Returns:
No description provided

getCardComponent

public javax.swing.JComponent getCardComponent()
Get the cardComponent attribute of the RoleLayout object

Returns:
The cardComponent value

setRoleComponent

public boolean setRoleComponent(javax.swing.JComponent value)
Sets the roleComponent attribute of the RoleLayout object

Parameters:
value - The new roleComponent value
Returns:
No description provided

getRoleComponent

public javax.swing.JComponent getRoleComponent()
Get the roleComponent attribute of the RoleLayout object

Returns:
The roleComponent value

setAdornmentComponent

public boolean setAdornmentComponent(javax.swing.JComponent value)
Sets the adornmentComponent attribute of the RoleLayout object

Parameters:
value - The new adornmentComponent value
Returns:
No description provided

getAdornmentComponent

public javax.swing.JComponent getAdornmentComponent()
Get the adornmentComponent attribute of the RoleLayout object

Returns:
The adornmentComponent value

setGrab

public boolean setGrab(JGrab value)
Sets the grab attribute of the RoleLayout object

Parameters:
value - The new grab value
Returns:
No description provided

getGrab

public JGrab getGrab()
Get the grab attribute of the RoleLayout object

Returns:
The grab value

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
Returns the amount of space the layout would like to have.

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
Parameters:
parent - the Container for which this layout manager is being used
Returns:
a Dimension object containing the layout's preferred size

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
Returns the minimum amount of space the layout needs.

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
Parameters:
parent - the Container for which this layout manager is being used
Returns:
a Dimension object containing the layout's minimum size

maximumLayoutSize

public java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
Returns the maximum amount of space the layout can use.

Specified by:
maximumLayoutSize in interface java.awt.LayoutManager2
Parameters:
parent - No description provided
Returns:
a Dimension object containing the layout's maximum size

calculateSize

protected java.awt.Dimension calculateSize(java.awt.Container parent,
                                           java.awt.Dimension adornDim,
                                           java.awt.Dimension roleDim,
                                           java.awt.Dimension cardDim)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
parent - No description provided
adornDim - No description provided
roleDim - No description provided
cardDim - No description provided
Returns:
No description provided

layoutContainer

public void layoutContainer(java.awt.Container parent)
Instructs the layout manager to perform the layout for the specified container.

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

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

addLayoutComponent

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

Specified by:
addLayoutComponent in interface java.awt.LayoutManager2
Parameters:
comp - The object added.
constraints - The object added.

getLayoutAlignmentX

public float getLayoutAlignmentX(java.awt.Container target)
Get the layoutAlignmentX attribute of the RoleLayout object

Specified by:
getLayoutAlignmentX in interface java.awt.LayoutManager2
Parameters:
target - No description provided
Returns:
The layoutAlignmentX value

getLayoutAlignmentY

public float getLayoutAlignmentY(java.awt.Container target)
Get the layoutAlignmentY attribute of the RoleLayout object

Specified by:
getLayoutAlignmentY in interface java.awt.LayoutManager2
Parameters:
target - No description provided
Returns:
The layoutAlignmentY value

invalidateLayout

public void invalidateLayout(java.awt.Container target)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
invalidateLayout in interface java.awt.LayoutManager2
Parameters:
target - No description provided