org.stringer.ui.statusbar
Class StatusLayout

java.lang.Object
  |
  +--org.stringer.ui.statusbar.AbstractLayout
        |
        +--org.stringer.ui.statusbar.StatusLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.awt.LayoutManager2, java.io.Serializable

public class StatusLayout
extends AbstractLayout

Layout a status bar.

Author:
R. Kevin Cole, kcole@users.sourceforge.net
See Also:
Serialized Form

Field Summary
protected  java.util.Hashtable table
           
 
Fields inherited from class org.stringer.ui.statusbar.AbstractLayout
hgap, vgap
 
Constructor Summary
StatusLayout()
          null argument constructor
StatusLayout(int hgap, int vgap)
           
 
Method Summary
 void addLayoutComponent(java.awt.Component comp, java.lang.Object constraints)
          Add the specified component from the layout.
 void layoutContainer(java.awt.Container parent)
           
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
           
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
           
 void removeLayoutComponent(java.awt.Component comp)
          Removes the specified component from the layout.
 
Methods inherited from class org.stringer.ui.statusbar.AbstractLayout
addLayoutComponent, getHgap, getLayoutAlignmentX, getLayoutAlignmentY, getVgap, invalidateLayout, maximumLayoutSize, setHgap, setVgap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

table

protected java.util.Hashtable table
Constructor Detail

StatusLayout

public StatusLayout()
null argument constructor


StatusLayout

public StatusLayout(int hgap,
                    int vgap)
Method Detail

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Description copied from class: AbstractLayout
Removes the specified component from the layout. By default, we let the Container handle this directly.

Specified by:
removeLayoutComponent in interface java.awt.LayoutManager
Overrides:
removeLayoutComponent in class AbstractLayout
Parameters:
comp - the component to be removed

addLayoutComponent

public void addLayoutComponent(java.awt.Component comp,
                               java.lang.Object constraints)
Description copied from class: AbstractLayout
Add the specified component from the layout. By default, we let the Container handle this directly.

Specified by:
addLayoutComponent in interface java.awt.LayoutManager2
Overrides:
addLayoutComponent in class AbstractLayout
Parameters:
comp - The component to be added
constraints - The constraints to apply when laying out.

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)

layoutContainer

public void layoutContainer(java.awt.Container parent)


Copyright © R. Kevin Cole. All Rights Reserved.