Button Methods

Overview | This Package | All Packages

Button Methods

Constructors Description
Button Creates a Button control.

Methods Description
getBackColor Retrieves the button's current background color.

getBrush Retrieves the brush used to display this control.

getDialogResult Retrieves the dialog box result generated by clicking the button.

getForeColor Retrieves the button's current foreground color.

notifyDefault Notifies the button whether it is the default button so that it can adjust its appearance accordingly.

performClick Generates a click event for the button, simulating a click by a user.

setDialogResult Sets the dialog box result generated by clicking the button.