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

CalendarEvent(Object source, CalendarEvent.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(CalendarEvent.Type aType)
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

CalendarEvent

public CalendarEvent(Object source,
                     CalendarEvent.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 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)

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.