org.apache.pivot.wtk
Class ComponentMouseListener.Adapter
java.lang.Object
org.apache.pivot.wtk.ComponentMouseListener.Adapter
- All Implemented Interfaces:
- ComponentMouseListener
- Enclosing interface:
- ComponentMouseListener
public static class ComponentMouseListener.Adapter
- extends Object
- implements ComponentMouseListener
Component mouse button listener adapter.
Method Summary |
boolean |
mouseMove(Component component,
int x,
int y)
Called when the mouse is moved over a component. |
void |
mouseOut(Component component)
Called when the mouse exits a component. |
void |
mouseOver(Component component)
Called when the mouse enters a component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComponentMouseListener.Adapter
public ComponentMouseListener.Adapter()
mouseMove
public boolean mouseMove(Component component,
int x,
int y)
- Description copied from interface:
ComponentMouseListener
- Called when the mouse is moved over a component.
- Specified by:
mouseMove
in interface ComponentMouseListener
- Returns:
- true to consume the event; false to allow it to
propagate.
mouseOver
public void mouseOver(Component component)
- Description copied from interface:
ComponentMouseListener
- Called when the mouse enters a component.
- Specified by:
mouseOver
in interface ComponentMouseListener
mouseOut
public void mouseOut(Component component)
- Description copied from interface:
ComponentMouseListener
- Called when the mouse exits a component.
- Specified by:
mouseOut
in interface ComponentMouseListener