org.gnu.gtk

Class CheckButton

public class CheckButton extends ToggleButton

Deprecated: This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.CheckButton. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

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()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Creates a new CheckButton

CheckButton

public CheckButton(Handle handle)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Construct a check button using a handle to a native resource.

CheckButton

public CheckButton(String label, boolean hasMnemonic)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

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)

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Internal static factory method to be used by Java-Gnome only.

getType

public static Type getType()

Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Retrieve the runtime type used by the GLib library.