You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VAcceptCriterion.java 548B

1234567891011121314151617181920
  1. package com.vaadin.terminal.gwt.client.ui.dd;
  2. import com.vaadin.terminal.gwt.client.UIDL;
  3. public interface VAcceptCriterion {
  4. /**
  5. * Checks if current drag event has valid drop target and target accepts the
  6. * transferable. If drop target is valid, callback is used.
  7. *
  8. * @param drag
  9. * @param configuration
  10. * @param callback
  11. */
  12. public void accept(VDragEvent drag, UIDL configuration,
  13. VAcceptCallback callback);
  14. public boolean needsServerSideCheck(VDragEvent drag, UIDL criterioUIDL);
  15. }