public static final class DateControl.EntryContextMenuParameter extends Object
Constructor and Description |
---|
EntryContextMenuParameter(ContextMenuEvent evt,
DateControl control,
EntryViewBase<?> entryView)
Constructs a new context menu parameter object.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar()
Convenience method to easily lookup the calendar of the entry for
which the view was created.
|
Entry<?> |
getEntry()
Convenience method to easily lookup the entry for which the view was
created.
|
EntryViewBase<?> |
getEntryView()
The entry view for which the context menu will be shown.
|
String |
toString() |
public EntryContextMenuParameter(ContextMenuEvent evt, DateControl control, EntryViewBase<?> entryView)
evt
- the event that triggered the context menucontrol
- the date control where the event occurredentryView
- the entry view for which the context menu will be createdpublic EntryViewBase<?> getEntryView()
public Entry<?> getEntry()
public Calendar getCalendar()
Copyright © 2017 Dirk Lemmermann Software & Consulting. All rights reserved.