com.vaadin.terminal.gwt.client.ui.dd
Class VServerAccept

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterion
      extended by com.vaadin.terminal.gwt.client.ui.dd.VServerAccept

public final class VServerAccept
extends VAcceptCriterion


Constructor Summary
VServerAccept()
           
 
Method Summary
protected  boolean accept(VDragEvent drag, UIDL configuration)
           
 void accept(VDragEvent drag, UIDL configuration, VAcceptCallback callback)
          Checks if current drag event has valid drop target and target accepts the transferable.
 boolean needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VServerAccept

public VServerAccept()
Method Detail

accept

public void accept(VDragEvent drag,
                   UIDL configuration,
                   VAcceptCallback callback)
Description copied from class: VAcceptCriterion
Checks if current drag event has valid drop target and target accepts the transferable. If drop target is valid, callback is used.

Overrides:
accept in class VAcceptCriterion

needsServerSideCheck

public boolean needsServerSideCheck(VDragEvent drag,
                                    UIDL criterioUIDL)
Overrides:
needsServerSideCheck in class VAcceptCriterion

accept

protected boolean accept(VDragEvent drag,
                         UIDL configuration)
Specified by:
accept in class VAcceptCriterion


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