|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.dse.desktop.NewGridLayout
This class implements a new Layout that resize the components of the Desktop when a resize 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)
This method add a component to the Layout |
java.util.Hashtable |
getComponentList()
This method returns a Hashtable with the list of the components |
void |
layoutContainer(java.awt.Container parent)
This method resizes all the components to the Desktop that has been resized. |
java.awt.Dimension |
minimumLayoutSize(java.awt.Container parent)
This method returns the minimunLayout size of the Desktop return java.awt.Dimension |
java.awt.Dimension |
preferredLayoutSize(java.awt.Container parent)
This method returns the preferred Layout Size returns java.awt.Dimension |
void |
removeLayoutComponent(java.awt.Component comp)
This method removes a Layout Copmonent |
void |
setComponentList(java.util.Hashtable newComponentList)
This method set the component List to another value |
void |
setSize(java.awt.Dimension size)
This method set 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.Container| Method Detail |
public void addLayoutComponent(java.lang.String name,
java.awt.Component comp)
public java.util.Hashtable getComponentList()
public void layoutContainer(java.awt.Container parent)
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
public void removeLayoutComponent(java.awt.Component comp)
public void setComponentList(java.util.Hashtable newComponentList)
newComponentList - java.util.Hashtablepublic void setSize(java.awt.Dimension size)
Size - java.awt.Dimension
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||