MouseEvent

indigo.shared.events.MouseEvent
See theMouseEvent companion object
sealed trait MouseEvent extends InputEvent, MouseOrPointerEvent

Represents all mouse events

Attributes

Companion
object
Graph
Supertypes
trait InputEvent
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all
Known subtypes
class Click
class Enter
class Leave
class MouseDown
class MouseUp
class Move
class Wheel
Show all

Members list

Value members

Inherited methods

Pressed buttons

Pressed buttons

Attributes

Inherited from:
MouseOrPointerEvent
def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def isActive: Boolean

Indicates whether buttons are in active state

Indicates whether buttons are in active state

Attributes

Inherited from:
MouseOrPointerEvent
def isAltKeyDown: Boolean

Whether the alt key was pressed when the event was fired

Whether the alt key was pressed when the event was fired

Attributes

Inherited from:
MouseOrPointerEvent
def isCtrlKeyDown: Boolean

Whether the ctrl key was pressed when the event was fired

Whether the ctrl key was pressed when the event was fired

Attributes

Inherited from:
MouseOrPointerEvent
def isMetaKeyDown: Boolean

Whether the meta button (Windows key, or Cmd Key) key was pressed when the event was fired

Whether the meta button (Windows key, or Cmd Key) key was pressed when the event was fired

Attributes

Inherited from:
MouseOrPointerEvent
def isShiftKeyDown: Boolean

Whether the shift key was pressed when the event was fired

Whether the shift key was pressed when the event was fired

Attributes

Inherited from:
MouseOrPointerEvent

The delta position between this event and the last event relative to the magnification level

The delta position between this event and the last event relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def movementX: Int

The delta X position between this event and the last event relative to the magnification level

The delta X position between this event and the last event relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def movementY: Int

The delta Y position between this event and the last event relative to the magnification level

The delta Y position between this event and the last event relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent

Coordinates relative to the magnification level

Coordinates relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def x: Int

The X position relative to the magnification level

The X position relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent
def y: Int

The Y position relative to the magnification level

The Y position relative to the magnification level

Attributes

Inherited from:
MouseOrPointerEvent