gov.noaa.pmel.sgt
Class StackedLayout

java.lang.Object
  |
  +--gov.noaa.pmel.sgt.StackedLayout
All Implemented Interfaces:
java.awt.LayoutManager

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

StackedLayout works with Pane to position multiple Layers directly over each other.

Since:
1.0
Version:
$Revision: 1.4 $, $Date: 2001/11/08 00:21:08 $
Author:
Donald Denbo
See Also:
Container.setLayout(java.awt.LayoutManager), Layer

Constructor Summary
StackedLayout()
           
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          Adds the specified component with the specified name to the layout.
 void layoutContainer(java.awt.Container parent)
          Lays out the container in the specified panel.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          Calculates the minimum size dimensions for the specified panel given the components in the specified parent container.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.
 void removeLayoutComponent(java.awt.Component comp)
          Removes the specified component from the layout.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackedLayout

public StackedLayout()
Method Detail

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
Description copied from interface: java.awt.LayoutManager
Calculates the preferred size dimensions for the specified panel given the components in the specified parent container.
Specified by:
preferredLayoutSize in interface java.awt.LayoutManager
Following copied from interface: java.awt.LayoutManager
Parameters:
parent - the component to be laid out
See Also:
LayoutManager.minimumLayoutSize(java.awt.Container)

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
Description copied from interface: java.awt.LayoutManager
Calculates the minimum size dimensions for the specified panel given the components in the specified parent container.
Specified by:
minimumLayoutSize in interface java.awt.LayoutManager
Following copied from interface: java.awt.LayoutManager
Parameters:
parent - the component to be laid out
See Also:
LayoutManager.preferredLayoutSize(java.awt.Container)

layoutContainer

public void layoutContainer(java.awt.Container parent)
Description copied from interface: java.awt.LayoutManager
Lays out the container in the specified panel.
Specified by:
layoutContainer in interface java.awt.LayoutManager
Following copied from interface: java.awt.LayoutManager
Parameters:
parent - the component which needs to be laid out

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Description copied from interface: java.awt.LayoutManager
Removes the specified component from the layout.
Specified by:
removeLayoutComponent in interface java.awt.LayoutManager
Following copied from interface: java.awt.LayoutManager
Parameters:
comp - the component to be removed

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Description copied from interface: java.awt.LayoutManager
Adds the specified component with the specified name to the layout.
Specified by:
addLayoutComponent in interface java.awt.LayoutManager
Following copied from interface: java.awt.LayoutManager
Parameters:
name - the component name
comp - the component to be added


Send comments about the Scientific Graphics toolkit to dwd@pmel.noaa.gov. For more information about Java Development in the EPIC Group see the EPIC Software Page
Generated on December 13 2001