Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.co.ist.mwt.MarginLayoutManager | +--uk.co.ist.mwt.DlogTemplateLayout
Constructor Summary | |
DlogTemplateLayout()
|
Method Summary | |
void | addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Add a component to the layout manager's records. |
boolean | getMinimizeButtons()
Get accessor for the /minimizeButtons/ flag |
void | layoutContainer(java.awt.Container parent)
Lays out the container. |
void | minimizeButtonsIf(boolean minimize)
Accessor to set the layout so that it makes all buttons their preferred sizes, rather than setting them all to the size of the largest. |
java.awt.Dimension | minimumLayoutSize(java.awt.Container parent)
Calculates the minimum size this layout would need to lay out all of the children of the container |
java.awt.Dimension | preferredLayoutSize(java.awt.Container parent)
Calculates the size this layout would like to lay out all of the children of the container |
void | removeLayoutComponent(java.awt.Component comp)
Remove a component from the layout manager's records. |
Methods inherited from class uk.co.ist.mwt.MarginLayoutManager | |
addLayoutComponent, getMarginHeight, getMarginWidth, layoutContainer, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setMarginHeight, setMarginWidth |
Methods inherited from class java.lang.Object | |
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Constructor Detail |
public DlogTemplateLayout()
Method Detail |
public void minimizeButtonsIf(boolean minimize)
public boolean getMinimizeButtons()
public void layoutContainer(java.awt.Container parent)
parent
- the container to lay outpublic java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
parent
- the containerpublic java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
parent
- the containerpublic void removeLayoutComponent(java.awt.Component comp)
comp
- would be the component to remove.public void addLayoutComponent(java.lang.String name, java.awt.Component comp)
comp
- would be the component to add.
name
- would be the name with which to add the component.Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |