RadioButton.setAppearance

Overview | Methods | This Package | All Packages

RadioButton.setAppearance

Sets a value that indicates whether the radio button will have the appearance of a command button rather than the usual appearance of a radio button.

Syntax

public final void setAppearance( int value )

Parameters

value

An integer that specifies the current appearance of the radio button. Possible values are constants defined in the Appearance class. If the value is set to Appearance.NORMAL, the radio button has the usual appearance of a radio button. If the value is set to Appearance.BUTTON, the radio button has the appearance of a command button. The default value is Appearance.NORMAL.

Remarks

For a radio button that looks like a command button, a pushed-in appearance is equivalent to being turned on, and a popped-up appearance is equivalent to being turned off.

See Also   getAppearance