Class CalendarTargetDetails
- java.lang.Object
-
- com.vaadin.event.dd.TargetDetailsImpl
-
- com.vaadin.v7.ui.components.calendar.CalendarTargetDetails
-
- All Implemented Interfaces:
TargetDetails
,Serializable
@Deprecated public class CalendarTargetDetails extends TargetDetailsImpl
Deprecated.As of 8.0, no replacement available.Drop details forCalendar
. 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.- Since:
- 7.1
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CalendarTargetDetails(Map<String,Object> rawDropData, DropTarget dropTarget)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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.-
Methods inherited from class com.vaadin.event.dd.TargetDetailsImpl
getData, getMouseEvent, getTarget, setData
-
-
-
-
Constructor Detail
-
CalendarTargetDetails
public CalendarTargetDetails(Map<String,Object> rawDropData, DropTarget dropTarget)
Deprecated.
-
-
Method Detail
-
hasDropTime
public boolean hasDropTime()
Deprecated.- Returns:
- true if
getDropTime()
will return a date object with the time set to the start of the time slot where the drop happened
-
setHasDropTime
public void setHasDropTime(boolean hasDropTime)
Deprecated.Does the dropped item have a time associated with it.- Parameters:
hasDropTime
-
-
getDropTime
public Date getDropTime()
Deprecated.- Returns:
- the date where the drop happened
-
-