Class: FocusEvent

FocusEvent

FocusEvent オブジェクトは、ユーザーが表示リストの1つのオブジェクトから
別のオブジェクトにフォーカスを変更したときにオブジェクトによって送出されます。
次の2種類のフォーカスイベントがあります。

An object dispatches a FocusEvent object when the user changes
the focus from one object in the display list to another.
There are two types of focus events:

  • FocusEvent.FOCUS_IN
  • FocusEvent.FOCUS_OUT

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

NameTypeDefaultDescription
typestring
bubblesbooleantrueoptional
cancelablebooleanfalseoptional

Extends

  • Event

Members

next2d.events.FocusEvent.FOCUS_IN staticconstant

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

Default Value:
  • focusIn

next2d.events.FocusEvent.FOCUS_OUT staticconstant

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

Default Value:
  • focusOut

next2d.events.FocusEvent.namespace string staticconstant

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

Default Value:
  • next2d.events.FocusEvent

namespace string constant

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

Default Value:
  • next2d.events.FocusEvent

Methods

next2d.events.FocusEvent.toString ()string static

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

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

toString ()string

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

Returns:
TypeDescription
string