Java Date Picker v2.0.0

com.standbysoft.datepicker.event
Class DateSelectionEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.standbysoft.datepicker.event.DateSelectionEvent
All Implemented Interfaces:
java.io.Serializable

public class DateSelectionEvent
extends java.util.EventObject

This type of events is fired by a DateSelectionModel whenever the selection is changed.

Author:
Nicolae Cismaru
See Also:
Serialized Form

Constructor Summary
DateSelectionEvent(java.lang.Object source, java.util.Date first, java.util.Date last)
          Creates a new object with a specified source, first and last selected date.
 
Method Summary
 java.util.Date getFirstDate()
          Returns the first selected date.
 java.util.Date getLastDate()
          Returns the last selected date.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateSelectionEvent

public DateSelectionEvent(java.lang.Object source,
                          java.util.Date first,
                          java.util.Date last)
Creates a new object with a specified source, first and last selected date.
Parameters:
source - object that generated this event
first - first selected date
last - last selected date
Method Detail

getFirstDate

public java.util.Date getFirstDate()
Returns the first selected date.
Returns:
the first selected date.

getLastDate

public java.util.Date getLastDate()
Returns the last selected date.
Returns:
the last selected date.

Java Date Picker v2.0.0

Copyright © 2003 Standby Soft Ltd. All Rights Reserved.