CheckBox.getAppearance

Overview | Methods | This Package | All Packages

CheckBox.getAppearance

Retrieves a value that indicates whether the check box will have the appearance of a command button rather than the usual appearance of a check box.

Syntax

public final int getAppearance()

Return Value

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

Remarks

For a check box that looks like a command button, a pushed-in appearance is equivalent to being checked, a popped-up appearance is equivalent to being unchecked, and a shaded and pushed appearance is equivalent to being indeterminate.

See Also   setAppearance