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
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
table
protected java.util.Hashtable table
StatusLayout
public StatusLayout()
- null argument constructor
StatusLayout
public StatusLayout(int hgap,
int vgap)
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 addedconstraints - 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.