class org.aswing.event.InteractiveEvent extends AWEvent

The event that has is about interactive.

The important property programmatic indicated that whether or not the event is fired by the programmatic reason or user mouse/keyboard interaction reason.

@see #isProgrammatic() @author paling

Class Fields

static var SCROLL_CHANGED:String

The InteractiveEvent.SCROLL_CHANGED constant defines the value of the type property of the event object for a scrollChanged event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()True means this event is fired by

the programmatic reason, false means user mouse/keyboard interaction reason.</td></tr>

currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

@eventType scrollChanged

static var SELECTION_CHANGED:String

The InteractiveEvent.SELECTION_CHANGED constant defines the value of the type property of the event object for a selectionChanged event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()True means this event is fired by

the programmatic reason, false means user mouse/keyboard interaction reason.</td></tr>

currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

@eventType selectionChanged

static var STATE_CHANGED:String

The InteractiveEvent.STATE_CHANGED constant defines the value of the type property of the event object for a stateChanged event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()True means this event is fired by

the programmatic reason, false means user mouse/keyboard interaction reason.</td></tr>

currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

@eventType stateChanged

static var TEXT_CHANGED:String

The InteractiveEvent.TEXT_CHANGED constant defines the value of the type property of the event object for a textChanged event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
isProgrammatic()True means this event is fired by

the programmatic reason, false means user mouse/keyboard interaction reason.</td></tr>

currentTargetThe Object that defines the event listener that handles the event. For example, if you use comp.addEventListener() to register an event listener, comp is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

@eventType textChanged

Instance Fields

Show inherited public instance fieldsHide inherited public instance fields

Inherited from AWEvent

function clone():Event

Inherited from Event

var bubbles:Bool
var cancelable:Bool
var currentTarget:Dynamic
var eventPhase:EventPhase
var target:Dynamic
var type:String
function clone():Event
function formatToString(className:String, ?p1:Dynamic, ?p2:Dynamic, ?p3:Dynamic, ?p4:Dynamic, ?p5:Dynamic):String
function isDefaultPrevented():Bool
function preventDefault():Void
function stopImmediatePropagation():Void
function stopPropagation():Void
function toString():String

function new(type:String, ?programmatic:Bool = false, ?bubbles:Bool = false, ?cancelable:Bool = false): Void

function clone(): Event

function isProgrammatic(): Bool

Returns the programmatic property. True means this event is fired by the programmatic reason, false means user mouse/keyboard interaction reason.

For example, if you drag the thumb of a slider, the slider will fire a event with programmatic=false, in the slider internal programmatic progress, or you directly call slider.setValue() it may fire a event with programmatic=true.

returns

the programmatic property.