|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nakedobjects.viewer.lightweight.Click
Constructor Summary | |
Click(View over,
java.awt.event.MouseEvent me)
|
Method Summary | |
Location |
getAbsoluteLocation()
Returns the absolute location of the mouse |
Location |
getLocation()
Returns the location of the mouse within the bounds of the view this object is recieved by |
boolean |
isAlt()
Returns true if the 'Alt' key is depressed |
boolean |
isButton1()
Returns true if the left-hand button on the mouse is depressed |
boolean |
isButton2()
Returns true if the middle button on the mouse is depressed |
boolean |
isButton3()
Returns true if the right-hand button on the mouse is depressed |
boolean |
isCtrl()
Returns true if the control key is depressed |
boolean |
isForView()
Returns true if the click is directed to the view itself, rather than to whatever the view is representing. |
boolean |
isShift()
Returns true if 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 |
Constructor Detail |
public Click(View over, java.awt.event.MouseEvent me)
Method Detail |
public Location getAbsoluteLocation()
public boolean isAlt()
public boolean isButton1()
public boolean isButton2()
public boolean isButton3()
public boolean isCtrl()
public boolean isForView()
public Location getLocation()
public boolean isShift()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |