com.objectwave.viewUtility
Class StretchLayout

java.lang.Object
  |
  +--com.objectwave.viewUtility.StretchLayout
All Implemented Interfaces:
java.awt.LayoutManager

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

This layout manager is neat. Check out the reference text for StretchLayoutConstraints for more information.


Field Summary
 DebugOutput debug
           
 
Constructor Summary
StretchLayout()
           
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          addLayoutComponent method comment.
 DebugOutput getDebug()
           
protected  java.util.Hashtable getHashtable()
           
 void layoutContainer(java.awt.Container parent)
          layoutContainer method comment.
static void main(java.lang.String[] args)
          Starts the application.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          minimumLayoutSize method comment.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          preferredLayoutSize method comment.
 void removeLayoutComponent(java.awt.Component comp)
          removeLayoutComponent method comment.
 void setConstraints(java.awt.Component c, StretchLayoutConstraints constraints)
          This method was created in VisualAge.
 void setDebug(DebugOutput newValue)
          This method was created in VisualAge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public DebugOutput debug
Constructor Detail

StretchLayout

public StretchLayout()
Method Detail

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
addLayoutComponent method comment.

Specified by:
addLayoutComponent in interface java.awt.LayoutManager

getDebug

public DebugOutput getDebug()
Returns:
com.objectwave.utility.DebugOutput

getHashtable

protected java.util.Hashtable getHashtable()
Returns:
java.util.Hashtable

layoutContainer

public void layoutContainer(java.awt.Container parent)
layoutContainer method comment.

Specified by:
layoutContainer in interface java.awt.LayoutManager

main

public static void main(java.lang.String[] args)
Starts the application.

Parameters:
args - an array of command-line arguments

minimumLayoutSize

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

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager

preferredLayoutSize

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

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent method comment.

Specified by:
removeLayoutComponent in interface java.awt.LayoutManager

setConstraints

public void setConstraints(java.awt.Component c,
                           StretchLayoutConstraints constraints)
This method was created in VisualAge.

Parameters:
c - java.awt.Component
constraints - com.objectwave.viewUtility.StretchLayoutConstraints

setDebug

public void setDebug(DebugOutput newValue)
This method was created in VisualAge.

Parameters:
newValue - com.objectwave.utility.DebugOutput