Event (SUI)

Base class for UIEvent.

Encapsulates input event information for an event that propagates through a container and control hierarchy. Implements W3C standard event handling.

Methods:

preventDefault, stopPropagation

Objects:

Boolean, Object, String

Property Listing

Property

Type

Access

Description

bubbles

Boolean

readonly

True if the event is of a type that bubbles.

cancelable

Boolean

readonly

True if the default action associated with the event can be canceled with preventDefault().

captures

Boolean

readonly

True if this event can be captured.

currentTarget

Boolean

readonly

The event target object which is currently handling the event. During capturing and bubbling, this is different from the property target.

eventPhase

String

readonly

The current phase of event propagation; one of none, target, capture, bubble.

target

Object

readonly

The event target object for this event.

timeStamp

DateSUI

readonly

The date and time at which the event occurred.

type

String

readonly

The name of the event that this object represents.

Event types are listed in the JavaScript Tools Guide.

Property Listing

Name

Type

Access

Description

AT_TARGET

VariesSUI

readonly

 

BUBBLING_PHASE

VariesSUI

readonly

 

CAPTURING_PHASE

VariesSUI

readonly

 

NOT_DISPATCHING

VariesSUI

readonly

 

Method Listing

undefined preventDefault ()

Prevents the default action associated with this event from being called.

undefined stopPropagation ()

Stops the propagation of this event.

Return

Events (SUI).createEvent()

StaticText (SUI).dispatchEvent()

Button (SUI).dispatchEvent()

IconButton (SUI).dispatchEvent()

EditText (SUI).dispatchEvent()

ListBox (SUI).dispatchEvent()

DropDownList (SUI).dispatchEvent()

Checkbox (SUI).dispatchEvent()

Scrollbar (SUI).dispatchEvent()

RadioButton (SUI).dispatchEvent()

Slider (SUI).dispatchEvent()

Progressbar (SUI).dispatchEvent()

TreeView (SUI).dispatchEvent()

FlashPlayer (SUI).dispatchEvent()

Group (SUI).dispatchEvent()

Panel (SUI).dispatchEvent()