Modifier and Type | Method and Description |
---|---|
void |
drag(int x,
int y)
Mouse was dragged.
|
void |
end(int x,
int y)
Possibly end the behaviour.
|
void |
init(int x,
int y)
Possibly start the behaviour.
|
void init(int x, int y)
MouseListener.mousePressed(java.awt.event.MouseEvent)
event was
reveiced. Whether this is actually a drag, can only be determined if the
drag(int, int)
is called subsequently.x
- mouse x.y
- mouse y.void drag(int x, int y)
init(int, int)
and
end(int, int)
.x
- mouse x.y
- mouse y.void end(int x, int y)
MouseListener.mouseReleased(java.awt.event.MouseEvent)
event was
reveiced. Whether this was actually a drag, can only be determined if the
drag(int, int)
was called since the last init(int, int)
.x
- mouse x.y
- mouse y.Copyright © 2015–2022 SciJava. All rights reserved.