Package codedraw.events
package codedraw.events
-
ClassDescriptionEventHandler<TArgs>A function that specifies what should happen when a specific event occurs.The EventScanner works in the same way as a
Scanner
.Represents various Keys.This argument is given exactly once when a key is pressed down.This argument is given continuously while a key is being held down.This argument is given exactly once when a key is released.MouseButton represents the three common mouse buttons on mice.This argument is given once when a mouse button is pressed down and quickly released again.This argument is given exactly once when a mouse button is pressed down.This argument is given when the mouse enters the canvas.This argument is given when the mouse leaves the canvas.This argument is given continuously while the mouse is being moved.This argument is given exactly once when a mouse button is released.This argument is given each time the mouse wheel is turned.A Subscription can be used to stop the triggering of an EventHandler at a later time.This argument is given exactly once when the user closes the window orCodeDraw.close()
is called.This argument is given every time the CodeDraw window is moved.