org.gnu.gtk.event

Class OptionMenuEvent

public class OptionMenuEvent extends GtkEvent

Deprecated: Use ComboBoxEvent instead. 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. Signal handling an connection has been completely re-implemented in java-gnome 4.0, so you will need to refactor any code attempting to use this class.

An event representing action by a OptionMenu widget.
Nested Class Summary
static classOptionMenuEvent.Type
Type of a OptionMenuEvent
Constructor Summary
OptionMenuEvent(Object source, OptionMenuEvent.Type type)
Creates a new OptionMenu Event.
Method Summary
booleanisOfType(OptionMenuEvent.Type type)

Constructor Detail

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 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.