Click

indigo.shared.events.MouseEvent.Click
See theClick companion object
final case class Click(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point, button: MouseButton) extends MouseEvent

The mouse has been clicked.

Value parameters

button

The button that was used for the click

Attributes

Companion
object
Graph
Supertypes
trait MouseEvent
trait InputEvent
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def isActive: Boolean

Indicates whether buttons are in active state

Indicates whether buttons are in active state

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
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

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