public class YearMonthChangeEvent extends Object
| Constructor and Description |
|---|
YearMonthChangeEvent(CalendarPanel source,
YearMonth newYearMonth,
YearMonth oldYearMonth)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
YearMonth |
getNewYearMonth()
getNewYearMonth, Returns the new YearMonth.
|
YearMonth |
getOldYearMonth()
getOldYearMonth, Returns the old YearMonth.
|
CalendarPanel |
getSource()
getSource, Returns the calendar panel that generated the event.
|
boolean |
isDuplicate()
isDuplicate, Returns true if the new YearMonth is the same as the old YearMonth.
|
public YearMonthChangeEvent(CalendarPanel source, YearMonth newYearMonth, YearMonth oldYearMonth)
public CalendarPanel getSource()
public YearMonth getNewYearMonth()
public YearMonth getOldYearMonth()
public boolean isDuplicate()
Copyright © 2021. All rights reserved.