org.gnu.gtk

Class ToggleAction

Known Direct Subclasses:
RadioAction

public class ToggleAction
extends Action

Constructor Summary

ToggleAction(Handle handle)
ToggleAction(String name, String label, String tooltip, String stockId)
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.

Method Summary

boolean
getActive()
boolean
getDrawAsRadio()
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.
void
setActive(boolean active)
void
setDrawAsRadio(boolean drawAsRadio)

Methods inherited from class org.gnu.gtk.Action

activate, addListener, connectAccelerator, connectProxy, createIcon, createMenuItem, createToolItem, disconnectAccelerator, disconnectProxy, getAcceleratorPath, getName, getProxies, getType, isSensitive, isVisible, removeListener, setAccelGroup, setAccelPath, setSensitive, setVisible

Constructor Details

ToggleAction

public ToggleAction(Handle handle)

ToggleAction

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

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 new Action object.

Method Details

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)