org.nakedobjects.viewer.lightweight
Interface DragTarget

All Superinterfaces:
java.lang.Cloneable, View
All Known Implementing Classes:
ClassIcon, EmptyField, FallbackView, ObjectIcon, StandardForm, StandardList, Workspace

public interface DragTarget
extends View


Method Summary
 void dragObjectIn(ObjectDrag drag)
          Called as an object drag moves into this view
 void dragObjectOut(ObjectDrag drag)
          Called as an object drag moves out of this view
 void dropObject(ObjectDrag drag)
          Called when a dragged object is dropped onto this view.
 
Methods inherited from interface org.nakedobjects.viewer.lightweight.View
calculateRepaintArea, contains, debugDetails, dispose, draw, entered, enteredSubview, exited, exitedSubview, firstClick, getAbsoluteLocation, getBaseline, getBorder, getBounds, getId, getLocation, getName, getPadding, getParent, getRequiredSize, getSize, getWorkspace, identifyView, indicatesForView, invalidateLayout, isLayoutInvalid, isOpen, isReplaceable, layout, makeView, menuOptions, mouseMoved, print, redraw, secondClick, setBorder, setBounds, setLocation, setSize, thirdClick, validateLayout
 

Method Detail

dragObjectIn

public void dragObjectIn(ObjectDrag drag)
Called as an object drag moves into this view


dragObjectOut

public void dragObjectOut(ObjectDrag drag)
Called as an object drag moves out of this view


dropObject

public void dropObject(ObjectDrag drag)
Called when a dragged object is dropped onto this view.