org.freixas.jcalendar
Class DateEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.freixas.jcalendar.DateEvent
All Implemented Interfaces:
Serializable

public class DateEvent
extends EventObject

This class holds information related to a date change in a calendar.

Author:
Antonio Freixas
See Also:
JCalendar, JCalendarCombo, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
DateEvent(Object source, Calendar selectedDate)
          Create a date event.
 
Method Summary
 Calendar getSelectedDate()
          Return the selected date.
 String toString()
          
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateEvent

public DateEvent(Object source,
                 Calendar selectedDate)
Create a date event.

Parameters:
source - The object on which the event occurred.
selectedDate - The selected date.
Method Detail

getSelectedDate

public Calendar getSelectedDate()
Return the selected date.

Returns:
The selected date.

toString

public String toString()

Overrides:
toString in class EventObject

Copyright © 2004-2005 Antonio Freixas
Licensed under the Artistic License