Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class EventHandlers
Holds a map of event handlers by their EventType.
Link copied to clipboard
Link copied to clipboard
Each instance represents a physical key on a keyboard. i.e. a piece of plastic with one or more symbols printed on it, and a switch underneath ;-) Not be confused with a Character
or a KeyCombination.
Link copied to clipboard
class KeyCombination
A KeyCombination (AKA keyboard shortcut), is a combination of a Key, and set of zero or more modifier
keys (Shift
, Control
, Alt
and Super
).
Link copied to clipboard
An event which is fired when a character has been typed.
Link copied to clipboard
Link copied to clipboard
class MouseEvent(val eventType: EventType<MouseEvent>, scene: Scene, sceneX: Float, sceneY: Float, val buttonIndex: Int, val clickCount: Int, mods: Int) : MouseEventBase
Link copied to clipboard
abstract class MouseEventBase(val scene: Scene, val sceneX: Float, val sceneY: Float, val mods: Int) : Event
The base class for MouseEvent and ScrollEvent.
Link copied to clipboard
Link copied to clipboard
class ScrollEvent(scene: Scene, sceneX: Float, sceneY: Float, val deltaX: Float, val deltaY: Float, mods: Int) : MouseEventBase