org.gnu.gtk.event

Class ActionEvent

Implemented Interfaces:
Serializable

public class ActionEvent
extends GtkEvent

An event representing the activation of an Action object
Since:
2.8

Nested Class Summary

static class
ActionEvent.Type
The type of the ActionEvent

Constructor Summary

ActionEvent(Object source, EventType type)
creates a new ActionEvent

Method Summary

boolean
isOfType(ActionEvent.Type aType)
Compares this event's type with the provided type

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

getSource, getType, toString

Constructor Details

ActionEvent

public ActionEvent(Object source,
                   EventType type)
creates a new ActionEvent
Parameters:
source -
type -

Method Details

isOfType

public boolean isOfType(ActionEvent.Type aType)
Compares this event's type with the provided type
Parameters:
aType - The type to test against
Returns:
true if this event has the same type as aType