| Package | vegas.events |
| Class | public class FontEvent |
| Inheritance | FontEvent BasicEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| ADD_FONT : String = addFont [static]
Defines the value of the type property of an added FontEvent object. | FontEvent | ||
![]() | context : *
Determinates the optional context of this event. | BasicEvent | |
| font : Font
Indicates the font reference of this event. | FontEvent | ||
![]() | target : Object [override]
Indicates the custom event target. | BasicEvent | |
![]() | timeStamp : uint [read-only]
Indicates the timestamp of the event. | BasicEvent | |
![]() | type : String [override]
Returns the type of event. | BasicEvent | |
| Method | Defined By | ||
|---|---|---|---|
FontEvent(type:String, font:Font = null, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)
Creates a new FontEvent instance. | FontEvent | ||
clone():Event [override]
Returns a shallow copy of this object. | FontEvent | ||
![]() | dispatch(channel:String = null):void
Dispatch the event with the global event flow. | BasicEvent | |
![]() | toString():String [override]
Returns the string representation of this event. | BasicEvent | |
| ADD_FONT | property |
public static var ADD_FONT:String = addFontDefines the value of the type property of an added FontEvent object.
| font | property |
font:FontIndicates the font reference of this event.
public function get font():Font public function set font(value:Font):void| FontEvent | () | Constructor |
public function FontEvent(type:String, font:Font = null, target:Object = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)Creates a new FontEvent instance.
Parameterstype:String — the string type of the instance.
| |
font:Font (default = null) — The Font reference of this event.
| |
target:Object (default = null) — the target of the event.
| |
context:* (default = null) — the optional context object of the event.
| |
bubbles:Boolean (default = false) — indicates if the event is a bubbling event.
| |
cancelable:Boolean (default = false) — indicates if the event is a cancelable event.
| |
time:Number (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
|
| clone | () | method |
override public function clone():EventReturns a shallow copy of this object.
ReturnsEvent — a shallow copy of this object.
|