public final class MouseMoveSwt extends Object implements org.eclipse.swt.events.MouseMoveListener
Constructor and Description |
---|
MouseMoveSwt()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getMx()
Get the horizontal movement.
|
int |
getMy()
Get the vertical movement.
|
int |
getWx()
Get the horizontal relative location.
|
int |
getWy()
Get the vertical relative location.
|
int |
getX()
Get the horizontal location.
|
int |
getY()
Get the vertical location.
|
boolean |
hasMoved()
Check if has moved.
|
void |
mouseMove(org.eclipse.swt.events.MouseEvent event) |
void |
update()
Update movement record.
|
public void update()
public int getX()
public int getY()
public int getWx()
public int getWy()
public int getMx()
public int getMy()
public boolean hasMoved()
true
if moved, false
else.public void mouseMove(org.eclipse.swt.events.MouseEvent event)
mouseMove
in interface org.eclipse.swt.events.MouseMoveListener
Copyright © 2017 Byron 3D Games Studio. All rights reserved.