Class CalendarDropHandler
- java.lang.Object
-
- com.vaadin.client.ui.dd.VAbstractDropHandler
-
- com.vaadin.client.ui.calendar.schedule.dd.CalendarDropHandler
-
- All Implemented Interfaces:
VDropHandler
- Direct Known Subclasses:
CalendarMonthDropHandler
,CalendarWeekDropHandler
public abstract class CalendarDropHandler extends VAbstractDropHandler
Abstract base class for calendar drop handlers.- Since:
- 7.1
- Author:
- Vaadin Ltd.
-
-
Field Summary
Fields Modifier and Type Field Description protected CalendarConnector
calendarConnector
-
Constructor Summary
Constructors Constructor Description CalendarDropHandler(CalendarConnector connector)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationConnection
getApplicationConnection()
Returns the application connection to which thisVDropHandler
belongs to.CalendarConnector
getConnector()
Returns the Paintable who owns thisVAbstractDropHandler
.-
Methods inherited from class com.vaadin.client.ui.dd.VAbstractDropHandler
dragAccepted, dragEnter, dragLeave, dragOver, drop, updateAcceptRules, validate
-
-
-
-
Field Detail
-
calendarConnector
protected final CalendarConnector calendarConnector
-
-
Constructor Detail
-
CalendarDropHandler
public CalendarDropHandler(CalendarConnector connector)
Constructor- Parameters:
connector
- The connector of the calendar
-
-
Method Detail
-
getConnector
public CalendarConnector getConnector()
Description copied from class:VAbstractDropHandler
Returns the Paintable who owns thisVAbstractDropHandler
. Server side counterpart of the Paintable is expected to implementDropTarget
interface.- Specified by:
getConnector
in interfaceVDropHandler
- Specified by:
getConnector
in classVAbstractDropHandler
-
getApplicationConnection
public ApplicationConnection getApplicationConnection()
Description copied from interface:VDropHandler
Returns the application connection to which thisVDropHandler
belongs to. DragAndDropManager uses this fucction to send Transferable to server side.
-
-