MouseEvent

object MouseEvent
Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Click(position: Point) extends MouseEvent

The mouse has been clicked.

The mouse has been clicked.

Value parameters:
x

X coord relative to magnification level

y

Y coord relative to magnification level

Companion:
object
object Click
Companion:
class
final case class MouseDown(position: Point, button: MouseButton) extends MouseEvent

The left mouse button was pressed down.

The left mouse button was pressed down.

Value parameters:
button

Button that triggered this event

x

X coord relative to magnification level

y

Y coord relative to magnification level

Companion:
object
object MouseDown
Companion:
class
final case class MouseUp(position: Point, button: MouseButton) extends MouseEvent

The left mouse button was released.

The left mouse button was released.

Value parameters:
button

Button that triggered this event

x

X coord relative to magnification level

y

Y coord relative to magnification level

Companion:
object
object MouseUp
Companion:
class
final case class Move(position: Point) extends MouseEvent

The mouse was moved to a new position.

The mouse was moved to a new position.

Value parameters:
x

X coord relative to magnification level

y

Y coord relative to magnification level

Companion:
object
object Move
Companion:
class
final case class Wheel(position: Point, amount: Double) extends MouseEvent

The mouse wheel was rotated a certain amount into the Y axis.

The mouse wheel was rotated a certain amount into the Y axis.

Value parameters:
amount

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

position

mouse position at where the wheel was actioned

Companion:
object
object Wheel
Companion:
class

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror