public class CalendarSelectionEvent extends Object
Constructor and Description |
---|
CalendarSelectionEvent(CalendarPanel source,
java.time.LocalDate newDate,
java.time.LocalDate oldDate)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.time.LocalDate |
getNewDate()
getNewDate, Returns the new selected date.
|
java.time.LocalDate |
getOldDate()
getOldDate, Returns the old selected date.
|
CalendarPanel |
getSource()
getSource, Returns the calendar panel that generated the event.
|
boolean |
isDuplicate()
isDuplicate, Returns true if the new date is the same as the old date, or if both values are
null.
|
public CalendarSelectionEvent(CalendarPanel source, java.time.LocalDate newDate, java.time.LocalDate oldDate)
public CalendarPanel getSource()
public java.time.LocalDate getNewDate()
public java.time.LocalDate getOldDate()
public boolean isDuplicate()
Copyright © 2018. All rights reserved.