synergynet3.apps.numbernet.draganddrop

Class CalculatorDragAndDropListener

    • Constructor Detail

      • CalculatorDragAndDropListener

        public CalculatorDragAndDropListener(Calculator c,
                                     CalculatorEventProcessor controller)
        Instantiates a new calculator drag and drop listener.
        Parameters:
        c - the c
        controller - the controller
    • 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.