Package | org.as3coreaddendum.events |
Class | public class PriorityEvent |
Inheritance | PriorityEvent ![]() |
org.as3coreaddendum.system.IPriority
interface and had its "priority" setter invoked.
This way the object will inform that its priority was changed.
But if the object does not implement flash.events.IEventDispatcher
interface, that's ok to not dispatch this event.
Property | Defined By | ||
---|---|---|---|
priority : int [read-only]
description
| PriorityEvent |
Method | Defined By | ||
---|---|---|---|
PriorityEvent(type:String, priority:int, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor, creates a new PriorityEvent object. | PriorityEvent | ||
clone():Event [override]
Duplicates the instance of PriorityEvent object. | PriorityEvent |
Constant | Defined By | ||
---|---|---|---|
CHANGED : String = org.as3coreaddendum.events.PriorityEvent.CHANGED [static] | PriorityEvent |
priority | property |
priority:int
[read-only] description
public function get priority():int
PriorityEvent | () | Constructor |
public function PriorityEvent(type:String, priority:int, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor, creates a new PriorityEvent
object.
type:String — The type of the event, accessible as Event.type .
| |
priority:int — The new priority value.
| |
bubbles:Boolean (default = false ) — Determines whether the Event object participates in the bubbling stage of the event flow. The default value is false .
| |
cancelable:Boolean (default = false ) — Determines whether the Event object can be canceled. The default value is false .
|
clone | () | method |
override public function clone():Event
Duplicates the instance of PriorityEvent object.
Returns a new PriorityEvent object that is a copy of the original instance of the PriorityEvent object. You do not normally call clone()
; the EventDispatcher
class calls it automatically when you redispatch an event—that is, when you call dispatchEvent(event)
from a handler that is handling event.
The new PriorityEvent object includes all the properties of the original.
ReturnsEvent — A new PriorityEvent object that is identical to the original.
|
CHANGED | Constant |
public static const CHANGED:String = org.as3coreaddendum.events.PriorityEvent.CHANGED