org.gnu.gtk.event

Class OptionMenuEvent

Implemented Interfaces:
Serializable

public class OptionMenuEvent
extends GtkEvent

An event representing action by a OptionMenu widget.

Nested Class Summary

static class
OptionMenuEvent.Type
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Constructor Summary

OptionMenuEvent(Object source, OptionMenuEvent.Type type)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Method Summary

boolean
isOfType(OptionMenuEvent.Type type)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Methods inherited from class org.gnu.gtk.event.GtkEvent

getSource, getType, toString

Constructor Details

OptionMenuEvent

public OptionMenuEvent(Object source,
                       OptionMenuEvent.Type type)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Creates a new OptionMenu Event. This is used internally by java-gnome. Users only have to deal with listeners.

Method Details

isOfType

public boolean isOfType(OptionMenuEvent.Type type)

Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback.

Returns:
True if the type of this event is the same as that stated.