|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.dse.desktop.NewGridLayout
This class implements a new Layout that resizes the components of the Desktop when a resize operation is done.
Constructor Summary | |
---|---|
NewGridLayout()
This constructor creates a NewGridLayout object. |
|
NewGridLayout(java.awt.Container c)
This constructor creates a NewGridLayout object. |
Method Summary | |
---|---|
void |
addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Adds a component to the Layout. |
java.util.Hashtable |
getComponentList()
Returns a hash table with the list of the components. |
void |
layoutContainer(java.awt.Container parent)
Resizes all the components of the Desktop that has been resized. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent)
Returns the minimumLayout size of the Desktop. |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
Returns the preferred Layout Size. |
void |
removeLayoutComponent(java.awt.Component comp)
Removes a Layout Component. |
void |
setComponentList(java.util.Hashtable newComponentList)
Sets the component List to another value. |
void |
setSize(java.awt.Dimension size)
Sets the Dimension of the size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NewGridLayout()
public NewGridLayout(java.awt.Container c)
c
- com.sun.java.swing.ContainerMethod Detail |
public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
addLayoutComponent
in interface java.awt.LayoutManager
public java.util.Hashtable getComponentList()
public void layoutContainer(java.awt.Container parent)
layoutContainer
in interface java.awt.LayoutManager
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
minimumLayoutSize
in interface java.awt.LayoutManager
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
preferredLayoutSize
in interface java.awt.LayoutManager
public void removeLayoutComponent(java.awt.Component comp)
removeLayoutComponent
in interface java.awt.LayoutManager
public void setComponentList(java.util.Hashtable newComponentList)
newComponentList
- java.util.Hashtablepublic void setSize(java.awt.Dimension size)
|
IBM Branch Transformation Toolkit Javadoc | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |