CanvasListener

Listen for Keyboard and Mouse events.

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Constructors

Link copied to clipboard
constructor(Owner: Canvas)
create new listener instance.

Properties

Link copied to clipboard
private val logger: Logger
class logger instance
Link copied to clipboard
private val Owner: Canvas
canvas to which this listener instance belongs.
Link copied to clipboard
private val TAG: String
class logger tag.

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun keyPressed(Event: KeyEvent)
A Key has been pressed
Link copied to clipboard
open fun keyReleased(Event: KeyEvent)
A Key has been released
Link copied to clipboard
open fun keyTyped(Event: KeyEvent)
A Key has been typed - this event is ignored
Link copied to clipboard
open fun mouseClicked(Event: MouseEvent)
A mouse click has been performed - this event is ignored.
Link copied to clipboard
open fun mouseEntered(Event: MouseEvent)
mouse pointer entered canvas - this event is ignored.
Link copied to clipboard
open fun mouseExited(Event: MouseEvent)
mouse pointer exited canvas - this event is ignored.
Link copied to clipboard
open fun mousePressed(Event: MouseEvent)
mouse button has been pressed
Link copied to clipboard
open fun mouseReleased(Event: MouseEvent)
mouse button has been released
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
fun wait()