Package org.apache.pivot.wtk
Class ComponentMouseListener.Adapter
- java.lang.Object
-
- org.apache.pivot.wtk.ComponentMouseListener.Adapter
-
- All Implemented Interfaces:
ComponentMouseListener
- Enclosing interface:
- ComponentMouseListener
@Deprecated public static class ComponentMouseListener.Adapter extends java.lang.Object implements ComponentMouseListener
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.Component mouse button listener adapter.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener
ComponentMouseListener.Adapter, ComponentMouseListener.Listeners
-
-
Constructor Summary
Constructors Constructor Description Adapter()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
mouseMove(Component component, int x, int y)
Deprecated.Called when the mouse is moved over a component.void
mouseOut(Component component)
Deprecated.Called when the mouse exits a component.void
mouseOver(Component component)
Deprecated.Called when the mouse enters a component.
-
-
-
Method Detail
-
mouseMove
public boolean mouseMove(Component component, int x, int y)
Deprecated.Description copied from interface:ComponentMouseListener
Called when the mouse is moved over a component.- Specified by:
mouseMove
in interfaceComponentMouseListener
- Parameters:
component
- Component that is under the mouse.x
- X position of the mouse.y
- Y position of the mouse.- Returns:
true
to consume the event;false
to allow it to propagate (default return).
-
mouseOver
public void mouseOver(Component component)
Deprecated.Description copied from interface:ComponentMouseListener
Called when the mouse enters a component.Default is to do nothing.
- Specified by:
mouseOver
in interfaceComponentMouseListener
- Parameters:
component
- Component that is now under the mouse pointer.
-
mouseOut
public void mouseOut(Component component)
Deprecated.Description copied from interface:ComponentMouseListener
Called when the mouse exits a component.Default is to do nothing.
- Specified by:
mouseOut
in interfaceComponentMouseListener
- Parameters:
component
- Component that has now lost the mouse pointer.
-
-