org.gnu.gtk.event
Class OptionMenuEvent

java.lang.Object
  extended by org.gnu.gtk.event.GtkEvent
      extended by org.gnu.gtk.event.OptionMenuEvent
All Implemented Interfaces:
java.io.Serializable

Deprecated. Use ComboBoxEvent instead.

public class OptionMenuEvent
extends GtkEvent

An event representing action by a OptionMenu widget.

See Also:
Serialized Form

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(java.lang.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OptionMenuEvent

public OptionMenuEvent(java.lang.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 Detail

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.