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.

DragSource.java 935B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. @ITMillApache2LicenseForJavaFiles@
  3. */
  4. package com.vaadin.event.dd;
  5. import java.io.Serializable;
  6. import java.util.Map;
  7. import com.vaadin.event.Transferable;
  8. /**
  9. * TODO Javadoc
  10. *
  11. * @since 6.3
  12. *
  13. */
  14. public interface DragSource extends Serializable {
  15. /**
  16. * DragSource may convert client side variables to meaningful values on
  17. * server side. For example Tree converts item identifiers to generated
  18. * string keys for the client side. Translators in Selects should convert
  19. * them back to item identifiers.
  20. *
  21. * <p>
  22. * Translator should remove variables it handled from rawVariables. All non
  23. * handled variables are added to Transferable automatically by terminal.
  24. * </p>
  25. *
  26. * <p>
  27. *
  28. * @since 6.3
  29. * @param rawVariables
  30. * @return the drag source related transferable
  31. */
  32. public Transferable getTransferable(Map<String, Object> rawVariables);
  33. }