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.ScaleChildLayout
NB. if you change the scale's orientation, don't forget to change that of the layout, and to move it to a new position in the parent.
The ScalePanel can be used as a short-cut; it implements the behaviour described above.
Method Summary | |
void | addLayoutComponent(java.lang.String name,
java.awt.Component comp)
Add a component to the layout manager's records. |
boolean | isVertical()
Gets the orientation of this layout |
void | layoutContainer(java.awt.Container parent)
Lays out the container. |
java.awt.Dimension | minimumLayoutSize(java.awt.Container parent)
Method to find the minimum size of the parent container with this layout |
java.awt.Dimension | preferredLayoutSize(java.awt.Container parent)
Method to find the preferred size of the parent container with this layout |
void | removeLayoutComponent(java.awt.Component comp)
Remove a component from the layout manager's records. |
void | setVerticalIf(boolean whether)
Sets the orientation of this layout |
Methods inherited from class java.lang.Object | |
equals, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
Method Detail |
public void setVerticalIf(boolean whether)
public boolean isVertical()
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)
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 |