MouseEvent

indigo.shared.events.MouseEvent
See theMouseEvent companion trait
object MouseEvent

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
MouseEvent.type

Members list

Type members

Classlikes

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.

The mouse has been clicked.

Value parameters

button

The button that was used for the click

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Click.type
final case class Enter(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point) extends MouseEvent

Mouse has moved into canvas hit test boundaries. It's counterpart is Leave.

Mouse has moved into canvas hit test boundaries. It's counterpart is Leave.

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Enter.type
final case class Leave(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point) extends MouseEvent

Mouse has left canvas hit test boundaries. It's counterpart is Enter.

Mouse has left canvas hit test boundaries. It's counterpart is Enter.

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Leave.type
final case class MouseDown(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point, button: MouseButton) extends MouseEvent

The mouse button was pressed down.

The mouse button was pressed down.

Value parameters

button

The button that was pressed down

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
MouseDown.type
final case class MouseUp(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point, button: MouseButton) extends MouseEvent

The mouse button was released.

The mouse button was released.

Value parameters

button

The button that was released

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
MouseUp.type
final case class Move(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point) extends MouseEvent

The mouse was moved to a new position.

The mouse was moved to a new position.

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Move.type
final case class Wheel(position: Point, buttons: Batch[MouseButton], isAltKeyDown: Boolean, isCtrlKeyDown: Boolean, isMetaKeyDown: Boolean, isShiftKeyDown: Boolean, movementPosition: Point, deltaX: Double, deltaY: Double, deltaZ: Double) extends MouseEvent

The mouse wheel was rotated a certain amount around an axis.

The mouse wheel was rotated a certain amount around an axis.

Value parameters

deltaX

horizontal amount of pixels, pages or other unit, depending on delta mode, the X axis was scrolled

deltaY

horizontal amount of pixels, pages or other unit, depending on delta mode, the Y axis was scrolled

deltaZ

horizontal amount of pixels, pages or other unit, depending on delta mode, the Z axis was scrolled

Attributes

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

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Wheel.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror