org.gnu.gtk.event

Class CalendarEvent

Implemented Interfaces:
Serializable

public class CalendarEvent
extends GtkEvent

An event represeting action by a Calendar widget.

Nested Class Summary

static class
CalendarEvent.Type
Type of a CalendarEvent

Field Summary

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

source, type

Constructor Summary

CalendarEvent(Object source, CalendarEvent.Type type)
Creates a new Calendar Event.

Method Summary

boolean
isOfType(CalendarEvent.Type aType)

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

getSource, getType, toString

Constructor Details

CalendarEvent

public CalendarEvent(Object source,
                     CalendarEvent.Type type)
Creates a new Calendar Event. This is used internally by java-gnome. Users only have to deal with listeners.

Method Details

isOfType

public boolean isOfType(CalendarEvent.Type aType)

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