public interface TICMouseListener extends EventListener
TICComponent
s.Modifier and Type | Method and Description |
---|---|
void |
mouseDragged(TICMouseEvent event)
This method is called if the mouse is moved over the component while a mouse button is held down.
|
void |
mouseEntered(TICMouseEvent event)
This method is called when a mouse button is pressed down.
|
void |
mouseExited(TICMouseEvent event)
This method is called when a mouse button is pressed down.
|
void |
mouseMoved(TICMouseEvent event)
This method is called if the mouse is moved over the component while no mouse button is pressed.
|
void |
mousePressed(TICMouseEvent event)
This method is called when a mouse button is pressed down.
|
void |
mouseReleased(TICMouseEvent event)
This method is called when a mouse button is released.
|
void mousePressed(TICMouseEvent event)
event
- the object containing information about the eventvoid mouseReleased(TICMouseEvent event)
event
- the object containing information about the eventvoid mouseEntered(TICMouseEvent event)
event
- the object containing information about the eventvoid mouseExited(TICMouseEvent event)
event
- the object containing information about the eventvoid mouseMoved(TICMouseEvent event)
mouseDragged(TICMouseEvent)
is called instead.
In contrast to drag events this event is only fired, if the mouse is located over the component.
event
- the object containing information about the eventvoid mouseDragged(TICMouseEvent event)
mouseMoved(TICMouseEvent)
is called instead.
Note that drag events are still fired if the mouse has already left the component until the according mouse button is released.
event
- the object containing information about the event