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) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDropTime() |
Calendar |
getTargetCalendar() |
boolean |
hasDropTime() |
void |
setHasDropTime(boolean hasDropTime)
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()
Copyright © 2023 Vaadin Ltd. All rights reserved.