org.gnu.gtk
Class ToggleAction

java.lang.Object
  extended by org.gnu.glib.Struct
      extended by org.gnu.glib.GObject
          extended by org.gnu.gtk.Action
              extended by org.gnu.gtk.ToggleAction
Direct Known Subclasses:
RadioAction

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.

public class ToggleAction
extends Action


Constructor Summary
ToggleAction(org.gnu.glib.Handle handle)
          Deprecated.  
ToggleAction(java.lang.String name, java.lang.String label, java.lang.String tooltip, java.lang.String stockId)
          Deprecated.  
 
Method Summary
 boolean getActive()
          Deprecated.  
 boolean getDrawAsRadio()
          Deprecated.  
static ToggleAction getToggleAction(org.gnu.glib.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)
          Deprecated.  
 void setDrawAsRadio(boolean drawAsRadio)
          Deprecated.  
 
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
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getEventListenerClass, getEventType, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class org.gnu.glib.Struct
equals, getHandle, getNullHandle, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleAction

public ToggleAction(java.lang.String name,
                    java.lang.String label,
                    java.lang.String tooltip,
                    java.lang.String stockId)
Deprecated. 

ToggleAction

public ToggleAction(org.gnu.glib.Handle handle)
Deprecated. 
Method Detail

getToggleAction

public static ToggleAction getToggleAction(org.gnu.glib.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)
Deprecated. 

getActive

public boolean getActive()
Deprecated. 

setDrawAsRadio

public void setDrawAsRadio(boolean drawAsRadio)
Deprecated. 

getDrawAsRadio

public boolean getDrawAsRadio()
Deprecated.