Class GalleryDragSourceEffect

  • All Implemented Interfaces:
    java.util.EventListener, org.eclipse.swt.dnd.DragSourceListener, org.eclipse.swt.internal.SWTEventListener

    public class GalleryDragSourceEffect
    extends org.eclipse.swt.dnd.DragSourceEffect

    Visual effect for drag and drop operators on GalleryItem. This effect has to be set in DragSource.setDragSourceEffect(DragSourceEffect)

    NOTE: THIS WIDGET AND ITS API ARE STILL UNDER DEVELOPMENT.

    See Also:
    DragSource.setDragSourceEffect(DragSourceEffect)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) Gallery g  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dragStart​(org.eclipse.swt.dnd.DragSourceEvent event)  
      • Methods inherited from class org.eclipse.swt.dnd.DragSourceEffect

        getControl
      • Methods inherited from class org.eclipse.swt.dnd.DragSourceAdapter

        dragFinished, dragSetData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GalleryDragSourceEffect

        public GalleryDragSourceEffect​(Gallery gallery)
        Creates the drag source effect.
        Parameters:
        gallery -
    • Method Detail

      • dragStart

        public void dragStart​(org.eclipse.swt.dnd.DragSourceEvent event)
        Specified by:
        dragStart in interface org.eclipse.swt.dnd.DragSourceListener
        Overrides:
        dragStart in class org.eclipse.swt.dnd.DragSourceAdapter