com.jp.comp.calendar
Class CalendarEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.jp.comp.calendar.CalendarEvent
All Implemented Interfaces:
java.io.Serializable

public class CalendarEvent
extends java.util.EventObject

A date changed event gets delivered whenever a date is changed

See Also:
CalendarListener, Serialized Form

Field Summary
protected  java.util.Date fNewDate
           
protected  java.util.Date fOldDate
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CalendarEvent(CalendarInterface aSource, java.util.Date aOldDate, java.util.Date aNewDate)
          Constructs a new CalendarEvent
 
Method Summary
 java.util.Date getNewDate()
          Gets the new Date
 java.util.Date getOldDate()
          Gets the old Date
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fOldDate

protected java.util.Date fOldDate

fNewDate

protected java.util.Date fNewDate
Constructor Detail

CalendarEvent

public CalendarEvent(CalendarInterface aSource,
                     java.util.Date aOldDate,
                     java.util.Date aNewDate)
Constructs a new CalendarEvent

Parameters:
aSource - the Calendar that fired the event
aOldDate - old Date
aNewDate - new Date
Method Detail

getOldDate

public java.util.Date getOldDate()
Gets the old Date

Returns:
the old Date

getNewDate

public java.util.Date getNewDate()
Gets the new Date

Returns:
the new Date