JDatePicker v4.3

com.standbysoft.component.date.event
Class DateSelectionAdapter

java.lang.Object
  extended bycom.standbysoft.component.date.event.DateSelectionAdapter
All Implemented Interfaces:
DateSelectionListener, java.util.EventListener

public class DateSelectionAdapter
extends java.lang.Object
implements DateSelectionListener

A default implementation for a DateSelectionListener.


Constructor Summary
DateSelectionAdapter()
           
 
Method Summary
 void dateSelectionChanged(DateSelectionEvent evt)
          Notifies that the selection of some dates has changed.
 void disabledDatesChanged(DateSelectionEvent evt)
          Notifies that the set of dates that cannot be selected has changed.
 void disabledDateSelectionAttempted(DateSelectionEvent evt)
          Notifies the attempt of selecting a disabled date (one that cannot be selected).
 void emptySelectionAllowedChanged(DateSelectionEvent evt)
          Notifies that the permission of empty selection has changed.
 void selectionModeChanged(DateSelectionEvent evt)
          Notifies that the selection mode has changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateSelectionAdapter

public DateSelectionAdapter()
Method Detail

dateSelectionChanged

public void dateSelectionChanged(DateSelectionEvent evt)
Description copied from interface: DateSelectionListener
Notifies that the selection of some dates has changed. This means that they either have been selected or deselected.

Specified by:
dateSelectionChanged in interface DateSelectionListener
Parameters:
evt - event that describes the new selection

selectionModeChanged

public void selectionModeChanged(DateSelectionEvent evt)
Description copied from interface: DateSelectionListener
Notifies that the selection mode has changed.

Specified by:
selectionModeChanged in interface DateSelectionListener
Parameters:
evt - event that describes this action

disabledDatesChanged

public void disabledDatesChanged(DateSelectionEvent evt)
Description copied from interface: DateSelectionListener
Notifies that the set of dates that cannot be selected has changed.

Specified by:
disabledDatesChanged in interface DateSelectionListener
Parameters:
evt - event that describes this action

emptySelectionAllowedChanged

public void emptySelectionAllowedChanged(DateSelectionEvent evt)
Description copied from interface: DateSelectionListener
Notifies that the permission of empty selection has changed.

Specified by:
emptySelectionAllowedChanged in interface DateSelectionListener
Parameters:
evt - event that describes this action

disabledDateSelectionAttempted

public void disabledDateSelectionAttempted(DateSelectionEvent evt)
Description copied from interface: DateSelectionListener
Notifies the attempt of selecting a disabled date (one that cannot be selected).

Specified by:
disabledDateSelectionAttempted in interface DateSelectionListener
Parameters:
evt - event that describes this action

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.