|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.input.listeners.MouseAdapter
public abstract class MouseAdapter
Simple adapter class that implements MouseListener.
| Constructor Summary | |
|---|---|
MouseAdapter()
|
|
| Method Summary | |
|---|---|
long |
getMouseStopDelay()
|
void |
onMouseButtonClicked(MouseButtonClickedEvent e,
MouseButton button,
int clickCount)
Invoked when a button click was registered by the mouse device. |
void |
onMouseButtonPressed(MouseButtonPressedEvent e,
MouseButton button)
Invoked when a button press was registered by the mouse device. |
void |
onMouseButtonReleased(MouseButtonReleasedEvent e,
MouseButton button)
Invoked when a button release was registered by the mouse device. |
void |
onMouseButtonStateChanged(MouseButtonEvent e,
MouseButton button,
boolean state)
Invoked when a button state-change was registered by the mouse device. |
void |
onMouseMoved(MouseMovedEvent e,
int x,
int y,
int dx,
int dy)
Invoked when a change of the mouse's position was registered by the mouse device while in non-exclusive mode. |
void |
onMouseStopped(MouseStoppedEvent e,
int x,
int y)
Invoked when a change of the mouse's position has not been registered for a certain amount of time. |
void |
onMouseWheelMoved(MouseWheelEvent e,
int wheelDelta)
Invoked when the mouse wheel has been moved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MouseAdapter()
| Method Detail |
|---|
public void onMouseButtonPressed(MouseButtonPressedEvent e,
MouseButton button)
onMouseButtonPressed in interface MouseListenere - the MouseEvent with all assotiated data
public void onMouseButtonReleased(MouseButtonReleasedEvent e,
MouseButton button)
onMouseButtonReleased in interface MouseListenere - the MouseEvent with all assotiated data
public void onMouseButtonClicked(MouseButtonClickedEvent e,
MouseButton button,
int clickCount)
onMouseButtonClicked in interface MouseListenere - the MouseEvent with all assotiated data
public void onMouseButtonStateChanged(MouseButtonEvent e,
MouseButton button,
boolean state)
onMouseButtonStateChanged in interface MouseListenere - the MouseEvent with all assotiated data
public void onMouseMoved(MouseMovedEvent e,
int x,
int y,
int dx,
int dy)
onMouseMoved in interface MouseListenere - the MouseEvent with all assotiated data
public void onMouseWheelMoved(MouseWheelEvent e,
int wheelDelta)
onMouseWheelMoved in interface MouseListenere - the MouseEvent with all assotiated datapublic long getMouseStopDelay()
getMouseStopDelay in interface MouseStopListener
public void onMouseStopped(MouseStoppedEvent e,
int x,
int y)
onMouseStopped in interface MouseStopListenere - the MouseStoppedEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||