synergynet3.personalcontentcontrol

Class GalleryDragAndDropListener

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void itemDraggedAndDropped(IItem itemDropped, IItem onto, int indexOfDrop) 
      • Methods inherited from class java.lang.Object

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

      • GalleryDragAndDropListener

        public GalleryDragAndDropListener(StudentGallery gallery,
                                  IStage stage,
                                  java.util.logging.Logger log)
        Instantiates a new gallery drag and drop listener.
        Parameters:
        gallery - the gallery
        stage - the stage
        log - the log
    • Method Detail

      • itemDraggedAndDropped

        public void itemDraggedAndDropped(IItem itemDropped,
                                 IItem onto,
                                 int indexOfDrop)
        Specified by:
        itemDraggedAndDropped in interface DragAndDropListener
        Parameters:
        itemDropped - Item that was dropped onto drag destination.
        onto - Drag destination dropped onto.
        indexOfDrop - If the item was on top, this will be zero, otherwise, how far underneath the top item.