|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.gtk.event.GtkEvent
org.gnu.gtk.event.MouseMotionEvent
public class MouseMotionEvent
This event object is used to identify how mouseMotion has changed. Note: normally motion events are sent just when some mouse button is pressed. If you want events also when no button is pressed, you should retrieve the widget's GdkWindow using Widget.getWindow() and do:
window.setEvents(window.getEvents().or(EventMask.POINTER_MOTION_MASK));
Widget.getWindow()
,
MouseMotionListener
,
Serialized FormNested Class Summary | |
---|---|
static class |
MouseMotionEvent.Type
Deprecated. |
Constructor Summary | |
---|---|
MouseMotionEvent(java.lang.Object source,
EventMotion gdkEvent)
Deprecated. |
Method Summary | |
---|---|
Device |
getDevice()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
boolean |
getSendEvent()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
ModifierType |
getState()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
int |
getTimeMillis()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
Window |
getWindow()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
double |
getX()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
double |
getXRoot()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
double |
getY()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
double |
getYRoot()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
boolean |
isHint()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
boolean |
isOfType(MouseMotionEvent.Type test)
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
void |
refireIfHint()
Deprecated. Superceeded by java-gnome 4.0; Signals all have individual interfaces each with a single method corresponding to the signature of the underlying callback. |
Methods inherited from class org.gnu.gtk.event.GtkEvent |
---|
getSource, getType, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MouseMotionEvent(java.lang.Object source, EventMotion gdkEvent)
Method Detail |
---|
public Window getWindow()
public boolean getSendEvent()
public int getTimeMillis()
public double getX()
public double getY()
public ModifierType getState()
public boolean isHint()
EventMask.POINTER_MOTION_HINT_MASK
public Device getDevice()
public double getXRoot()
public double getYRoot()
public boolean isOfType(MouseMotionEvent.Type test)
public void refireIfHint()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |