|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContainerMouseListener
Container mouse listener interface. Container mouse events are "tunneling" events that are fired as the event propagates down the component hierarchy.
Nested Class Summary | |
---|---|
static class |
ContainerMouseListener.Adapter
Container mouse listener adapter. |
Method Summary | |
---|---|
boolean |
mouseDown(Container container,
Mouse.Button button,
int x,
int y)
Called when the mouse is pressed over a container. |
boolean |
mouseMove(Container container,
int x,
int y)
Called when the mouse is moved over a container. |
boolean |
mouseUp(Container container,
Mouse.Button button,
int x,
int y)
Called when the mouse is released over a container. |
boolean |
mouseWheel(Container container,
Mouse.ScrollType scrollType,
int scrollAmount,
int wheelRotation,
int x,
int y)
Called when the mouse wheel is scrolled over a container. |
Method Detail |
---|
boolean mouseMove(Container container, int x, int y)
container
- x
- y
-
boolean mouseDown(Container container, Mouse.Button button, int x, int y)
container
- button
- x
- y
-
boolean mouseUp(Container container, Mouse.Button button, int x, int y)
container
- button
- x
- y
-
boolean mouseWheel(Container container, Mouse.ScrollType scrollType, int scrollAmount, int wheelRotation, int x, int y)
container
- scrollType
- scrollAmount
- wheelRotation
- x
- y
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |