com.vaadin.client.ui.calendar.schedule.dd
Class CalendarDropHandler

java.lang.Object
  extended by com.vaadin.client.ui.dd.VAbstractDropHandler
      extended by 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
protected  CalendarConnector calendarConnector
           
 
Constructor Summary
CalendarDropHandler(CalendarConnector connector)
          Constructor
 
Method Summary
 ApplicationConnection getApplicationConnection()
          Returns the application connection to which this VDropHandler belongs to.
 CalendarConnector getConnector()
          Returns the Paintable who owns this VAbstractDropHandler.
 
Methods inherited from class com.vaadin.client.ui.dd.VAbstractDropHandler
dragAccepted, dragEnter, dragLeave, dragOver, drop, updateAcceptRules, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 this VAbstractDropHandler. Server side counterpart of the Paintable is expected to implement DropTarget interface.

Specified by:
getConnector in interface VDropHandler
Specified by:
getConnector in class VAbstractDropHandler

getApplicationConnection

public ApplicationConnection getApplicationConnection()
Description copied from interface: VDropHandler
Returns the application connection to which this VDropHandler belongs to. DragAndDropManager uses this fucction to send Transferable to server side.



Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.