JDatePicker v4.3

com.standbysoft.component.date.event
Class DateSelectionEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.standbysoft.component.date.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 its state changes. This means the selection is changed or the selected dates have changed.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
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.
 java.lang.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

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.

toString

public java.lang.String toString()

JDatePicker v4.3

Visit www.jdatepicker.com for further information or send us your suggestions.

Copyright © 2003-2007 Stand By Soft Ltd. All Rights Reserved.