|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.viewer.lightweight.DragHandler
Wraps mouse events that occur within the ApplicationFrame before passing them to the frames components.
| Field Summary | |
protected DragView |
dragging
|
| Constructor Summary | |
protected |
DragHandler(View source,
java.awt.event.MouseEvent me,
Location downAt)
|
| Method Summary | |
abstract void |
dragEnd(View identified)
|
abstract void |
dragIn(View over)
|
abstract void |
dragOut(View over)
|
DragView |
getDragging()
|
Location |
getRelativeLocation()
|
Location |
getRelativeOrigin()
Returns the location of the mouse within the view it is over. |
Location |
getViewLocation()
Returns the location of the view that the mouse is over. |
boolean |
isAlt()
Determines whether the ALT key is depressed. |
boolean |
isAlts()
|
boolean |
isButton1()
Determines whether the left mouse button is depressed. |
boolean |
isButton2()
Determines whether the middle mouse button is depressed. |
boolean |
isButton3()
Determines whether the right mouse button is depressed. |
boolean |
isCtrl()
Determines whether the CTRL key is depressed. |
boolean |
isShift()
Determines whether the SHIFT key is depressed. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected DragView dragging
| Constructor Detail |
protected DragHandler(View source,
java.awt.event.MouseEvent me,
Location downAt)
| Method Detail |
public boolean isAlt()
public boolean isAlts()
public boolean isButton1()
public boolean isButton2()
public boolean isButton3()
public boolean isCtrl()
public DragView getDragging()
public Location getRelativeLocation()
public Location getRelativeOrigin()
public boolean isShift()
public Location getViewLocation()
public abstract void dragEnd(View identified)
public abstract void dragIn(View over)
public abstract void dragOut(View over)
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||