org.gnu.gtk

Class ToggleToolButton

public class ToggleToolButton extends ToolButton

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.ToggleToolButton. 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
ToggleToolButton()
ToggleToolButton(String stockId)
ToggleToolButton(Handle hndl)
Method Summary
voidaddListener(ToggleToolButtonListener listener)
Register an object to handle dialog events.
booleangetActive()
ClassgetEventListenerClass(String signal)
EventTypegetEventType(String signal)
static ToggleToolButtongetToggleToolButton(Handle handle)
Internal static factory method to be used by Java-Gnome only.
voidremoveListener(ToggleToolButtonListener listener)
Removes a listener
voidsetActive(boolean active)

Constructor Detail

ToggleToolButton

public ToggleToolButton()

ToggleToolButton

public ToggleToolButton(String stockId)

ToggleToolButton

public ToggleToolButton(Handle hndl)

Method Detail

addListener

public void addListener(ToggleToolButtonListener listener)

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.

Register an object to handle dialog events.

See Also: ToggleToolButtonListener

getActive

public boolean getActive()

getEventListenerClass

public Class getEventListenerClass(String signal)

getEventType

public EventType getEventType(String signal)

getToggleToolButton

public static ToggleToolButton getToggleToolButton(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.

removeListener

public void removeListener(ToggleToolButtonListener listener)

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.

Removes a listener

See Also: addListener

setActive

public void setActive(boolean active)