RadioButton.getAppearance

Overview | Methods | This Package | All Packages

RadioButton.getAppearance

Retrieves 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 int getAppearance()

Return Value

Returns an integer that specifies the current appearance of the radio button. Possible return values are constants defined in the Appearance class. If the value is Appearance.NORMAL, the radio button has the usual appearance of a radio button. If the value is Appearance.BUTTON, the radio button has the appearance of a command button.

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   setAppearance