public static final class DateControl.ContextMenuParameter extends Object
Constructor and Description |
---|
ContextMenuParameter(ContextMenuEvent evt,
DateControl dateControl,
Calendar calendar,
ZonedDateTime time)
Constructs a new parameter object.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar()
The (default) calendar where newly created entries should be added.
|
ZonedDateTime |
getZonedDateTime()
The time where the mouse click occurred.
|
String |
toString() |
public ContextMenuParameter(ContextMenuEvent evt, DateControl dateControl, Calendar calendar, ZonedDateTime time)
evt
- the event that triggered the context menudateControl
- the date control where the event occurredcalendar
- the (default) calendar where newly created entries should
be addedtime
- the time where the mouse click occurredpublic Calendar getCalendar()
public ZonedDateTime getZonedDateTime()
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.