StatusBarPanel.setAutoSize

Overview | Methods | This Package | All Packages

StatusBarPanel.setAutoSize

Sets a value indicating whether the panel has a fixed-width, a width that is determined by the panel's contents, or a width that adjusts to share space on the status bar with other panels.

Syntax

public void setAutoSize( int autoSize )

Parameters

autoSize

An integer that represents how the panel autosizes when the status bar resizes. Possible values are constants defined in the StatusBarPanelAutoSize class. The default value is StatusBarPanelAutoSize.NONE.

Exceptions

WFCInvalidEnumException thrown if the specified value is not a valid StatusBarPanelAutoSize constant.

See Also   getAutoSize