All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sgi.sysadm.ui.DynamicSize

public interface DynamicSize
DynamicSize is an interface implemented by Components whose height depends on width.

See Also:
DynamicSizeLayoutManager

Method Index

 o getPreferredHeight(int)
Calculate our preferred height given a particular width.

Methods

 o getPreferredHeight
 public abstract int getPreferredHeight(int width)
Calculate our 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:
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