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

java.lang.Object
  extended by com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterion
      extended by com.vaadin.terminal.gwt.client.ui.dd.VAnd
All Implemented Interfaces:
VAcceptCallback

public final class VAnd
extends VAcceptCriterion
implements VAcceptCallback


Constructor Summary
VAnd()
           
 
Method Summary
protected  boolean accept(VDragEvent drag, UIDL configuration)
           
 void accepted(VDragEvent event)
          This method is called by VDragAndDropManager if the VDragEvent is still active.
 
Methods inherited from class com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterion
accept, needsServerSideCheck
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VAnd

public VAnd()
Method Detail

accept

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

accepted

public void accepted(VDragEvent event)
Description copied from interface: VAcceptCallback
This method is called by VDragAndDropManager if the VDragEvent is still active. Developer can update for example drag icon or empahsis the target if the target accepts the transferable. If the drag and drop operation ends or the VAbstractDropHandler has changed before response arrives, the method is never called.

Specified by:
accepted in interface VAcceptCallback


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