org.gnu.gtk

Class CheckButton

public class CheckButton extends ToggleButton

A CheckButton widget displays a small button with a label next to it. The button can be toggled on or off by the mouse, and will retain its state until it is toggled again.
Constructor Summary
CheckButton()
Creates a new CheckButton
CheckButton(Handle handle)
Construct a check button using a handle to a native resource.
CheckButton(String label, boolean hasMnemonic)
Creates a new Checkbutton with a label.
Method Summary
static CheckButtongetCheckButton(Handle handle)
Internal static factory method to be used by Java-Gnome only.
static TypegetType()
Retrieve the runtime type used by the GLib library.

Constructor Detail

CheckButton

public CheckButton()
Creates a new CheckButton

CheckButton

public CheckButton(Handle handle)
Construct a check button using a handle to a native resource.

CheckButton

public CheckButton(String label, boolean hasMnemonic)
Creates a new Checkbutton with a label. If hasMnemonic is true, any mnemonic characters in the Label will be interpreted. See the description of the Label class for more details of mnemonic characters.

Parameters: label Text to be displayed in a label next to the check box. hasMnemonic Determines whether to interpret Mnemonic characters

Method Detail

getCheckButton

public static CheckButton getCheckButton(Handle handle)
Internal static factory method to be used by Java-Gnome only.

getType

public static Type getType()
Retrieve the runtime type used by the GLib library.