We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.terminal.gwt.client.ui.dd.
Class VOr
java.lang.Object
com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterion
com.vaadin.terminal.gwt.client.ui.dd.VOr
All Implemented Interfaces:
- extends VAcceptCriterion
- implements VAcceptCallback
public final class VOr
Constructor Summary | |
---|---|
VOr()
|
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. |
void |
accepted(VDragEvent event)
This method is called by VDragAndDropManager if the
VDragEvent is still active. |
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 |
---|
VOr
public VOr()
Method Detail |
---|
accept
public void accept(VDragEvent drag,
UIDL configuration,
VAcceptCallback callback)
- Overrides:
accept
in classVAcceptCriterion
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.
needsServerSideCheck
public boolean needsServerSideCheck(VDragEvent drag,
UIDL criterioUIDL)
- Overrides:
needsServerSideCheck
in classVAcceptCriterion
accept
protected boolean accept(VDragEvent drag,
UIDL configuration)
- Specified by:
accept
in classVAcceptCriterion
accepted
public void accepted(VDragEvent event)
- Specified by:
accepted
in interfaceVAcceptCallback
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.