|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
fr.esrf.tangoatk.widget.util.jdraw.JDMouseEvent
public class JDMouseEvent
JDraw MouseEvent
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
JDMouseEvent(JDObject source,
java.awt.event.MouseEvent e0)
Construct a JDMouseEvent |
|
| Method Summary | |
|---|---|
int |
getButton()
Returns which, if any, of the mouse buttons has changed state. |
int |
getClickCount()
Indicates the number of quick consecutive clicks of a mouse button. |
int |
getModifiers()
Returns the modifier mask for this event. |
long |
getWhen()
Returns the timestamp of when this event occurred. |
int |
getX()
Returns the horizontal x position of the intial MouseEvent. |
int |
getY()
Returns the vetical y position of the intial MouseEvent. |
boolean |
isAltDown()
Returns whether or not the Alt modifier is down on this event. |
boolean |
isAltGraphDown()
Returns whether or not the AltGraph modifier is down on this event. |
boolean |
isControlDown()
Returns whether or not the Control modifier is down on this event. |
boolean |
isMetaDown()
Returns whether or not the Meta modifier is down on this event. |
boolean |
isShiftDown()
Returns whether or not the Shift modifier is down on this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDMouseEvent(JDObject source,
java.awt.event.MouseEvent e0)
source - JDObject sourcee0 - Initial mouse event.| Method Detail |
|---|
public int getX()
public int getY()
public int getClickCount()
public int getButton()
MouseEvent.BUTTON1,
MouseEvent.BUTTON2,
MouseEvent.BUTTON3public long getWhen()
public boolean isShiftDown()
public boolean isControlDown()
public boolean isMetaDown()
public boolean isAltDown()
public boolean isAltGraphDown()
public int getModifiers()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||