BiFocusEvent
This class describes event objects used in focus events.
The focusin and focusout events bubble by default,
focus and blur do not.
All mouse events bubble by default. This means that once all the
event listeners have been notified the event propagates to the parent
BiComponent. To prevent the event to
bubble to the parent call
stopPropagation() on the event object.
The currently supported events by BiComponent
are:
focus
blur
focusin
focusout
The order these events occur, when a focused component is left and another
focused component takes the focus, is the following:
focusout
focusin
blur
focus
This object should not be created by the user. It is created as needed by the event system.
This class extends
BiEvent
and therefore all methods and fields available for
BiEvent
are also available for
BiFocusEvent
.
Constructor
new
BiFocusEvent
(
sType
)
Parameters
| Name | Type | Optional | Default | Descripton |
sType |
String |
The type (name) of the event |
Properties
| Name | Type | get | set | Descripton |
relatedTarget |
|
![]() |
The related target is the other component related to the focus
event. In focus and focusin the related
target is the componet that was left. In blur and
focusout the related target is the componet that was
entered. |
Methods
None.
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
This object should not be created by the user. It is created as needed by the event system.
