public class CalendarSelectionEvent extends Object
Constructor and Description |
---|
CalendarSelectionEvent(CalendarPanel source,
LocalDate newDate,
LocalDate oldDate)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
LocalDate |
getNewDate()
getNewDate, Returns the new selected date.
|
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, LocalDate newDate, LocalDate oldDate)
public CalendarPanel getSource()
public LocalDate getNewDate()
public LocalDate getOldDate()
public boolean isDuplicate()
Copyright © 2017. All rights reserved.