Class: MouseEvent

MouseEvent

MouseEvent オブジェクトは、マウスイベントが発生するたびにイベントフローに送出されます。
通常、マウスイベントは、マウスやトラックボールなど、ポインターを使用したユーザー入力デバイスによって生成されます。

A MouseEvent object is dispatched into the event flow whenever mouse events occur.
A mouse event is usually generated by a user input device,
such as a mouse or a trackball, that uses a pointer.

new next2d.events.MouseEvent (type, bubbles, cancelable)

NameTypeDefaultDescription
typestring
bubblesbooleantrueoptional
cancelablebooleanfalseoptional

Extends

  • Event

Members

next2d.events.MouseEvent.CLICK staticconstant

click イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a click event object.

Default Value:
  • click

next2d.events.MouseEvent.DOUBLE_CLICK staticconstant

dblclick イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a dblclick event object.

Default Value:
  • dblclick

next2d.events.MouseEvent.MOUSE_DOWN staticconstant

mouseDown イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a mouseDown event object.

Default Value:
  • mouseDown

next2d.events.MouseEvent.MOUSE_MOVE staticconstant

mouseMove イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a mouseMove event object.

Default Value:
  • mouseMove

next2d.events.MouseEvent.MOUSE_OUT staticconstant

mouseOut イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a mouseOut event object.

Default Value:
  • mouseOut

next2d.events.MouseEvent.MOUSE_OVER staticconstant

mouseOver イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a mouseOver event object.

Default Value:
  • mouseOver

next2d.events.MouseEvent.MOUSE_UP staticconstant

mouseUp イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a mouseUp event object.

Default Value:
  • mouseUp

next2d.events.MouseEvent.MOUSE_WHEEL staticconstant

mouseWheel イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a mouseWheel event object.

Default Value:
  • mouseWheel

next2d.events.MouseEvent.namespace string staticconstant

指定されたクラスの空間名を返します。
Returns the space name of the specified class.

Default Value:
  • next2d.events.MouseEvent

next2d.events.MouseEvent.ROLL_OUT staticconstant

rollOut イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a rollOut event object.

Default Value:
  • rollOut

next2d.events.MouseEvent.ROLL_OVER staticconstant

rollOver イベントオブジェクトの type プロパティ値を定義します。
Defines the value of the type property of a rollOver event object.

Default Value:
  • rollOver

namespace string constant

指定されたオブジェクトの空間名を返します。
Returns the space name of the specified object.

Default Value:
  • next2d.events.MouseEvent

Methods

next2d.events.MouseEvent.toString ()string static

指定されたクラスのストリングを返します。
Returns the string representation of the specified class.

Default Value:
  • [class MouseEvent]
Returns:
TypeDescription
string

toString ()string

指定されたオブジェクトのストリングを返します。
Returns the string representation of the specified object.

Returns:
TypeDescription
string