All Packages Class Hierarchy This Package Previous Next Index
Interface com.sgi.sysadm.ui.DynamicSizeLayoutManager
- public interface DynamicSizeLayoutManager
DynamicSizeLayoutManager is used in conjunction with RPanel (or
other Containers which implement the DynamicSize interface) to
allow a Container's height to be determined by its width.
- See Also:
- DynamicSize, RPanel
-
getPreferredHeight(Container, int)
- Calculate preferred height given a particular width.
getPreferredHeight
public abstract int getPreferredHeight(Container parent,
int width)
- Calculate preferred height given a particular width. Can
be used by LayoutManagers that have special knowledge of the
fact that the component's height depends on its width.
- Parameters:
- parent - Parent Container to layout.
- width - A proposed width for this component.
- Returns:
- the height this component would like to be given a
width of width.
All Packages Class Hierarchy This Package Previous Next Index