org.gnu.gtk

Class ToggleAction

public class ToggleAction extends Action

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.ToggleAction. 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.

Constructor Summary
ToggleAction(String name, String label, String tooltip, String stockId)
ToggleAction(Handle handle)
Method Summary
booleangetActive()
booleangetDrawAsRadio()
static ToggleActiongetToggleAction(Handle handle)
Internal static factory method to be used by Java-Gnome only.
voidsetActive(boolean active)
voidsetDrawAsRadio(boolean drawAsRadio)

Constructor Detail

ToggleAction

public ToggleAction(String name, String label, String tooltip, String stockId)

ToggleAction

public ToggleAction(Handle handle)

Method Detail

getActive

public boolean getActive()

getDrawAsRadio

public boolean getDrawAsRadio()

getToggleAction

public static ToggleAction getToggleAction(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.

setActive

public void setActive(boolean active)

setDrawAsRadio

public void setDrawAsRadio(boolean drawAsRadio)