@Deprecated public class CalendarTargetDetails extends TargetDetailsImpl
Calendar. When something is dropped on the Calendar, this class contains the
specific details of the drop point. Specifically, this class gives access to
the date where the drop happened. If the Calendar was in weekly mode, the
date also includes the start time of the slot.| Constructor and Description |
|---|
CalendarTargetDetails(Map<String,Object> rawDropData,
DropTarget dropTarget)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDropTime()
Deprecated.
|
Calendar |
getTargetCalendar()
Deprecated.
|
boolean |
hasDropTime()
Deprecated.
|
void |
setHasDropTime(boolean hasDropTime)
Deprecated.
Does the dropped item have a time associated with it
|
getData, getMouseEvent, getTarget, setDatapublic CalendarTargetDetails(Map<String,Object> rawDropData, DropTarget dropTarget)
public boolean hasDropTime()
getDropTime() will return a date object with the
time set to the start of the time slot where the drop happenedpublic void setHasDropTime(boolean hasDropTime)
hasDropTime - public Date getDropTime()
public Calendar getTargetCalendar()
Calendar
instance which was the target of the dropCopyright © 2017 Vaadin Ltd. All rights reserved.