Package | com.cyntaxic.cynmvc.view |
Class | public class CynComponent |
Inheritance | CynComponent CynView flash.display.Sprite |
Implements | ICynView |
CynComponent
is a CynView
that has no CynView
children.
Method | Defined By | ||
---|---|---|---|
CynComponent(self:CynComponent)
Creates a new instance of CynComponent. | CynComponent | ||
addListener(type:String, listener:Function, props:Object = null):void
Shorthand method for addEventListener. | CynView | ||
addWeakListener(type:String, listener:Function):void
Shorthand method for addEventListener using weak reference. | CynView | ||
describe(compact:Boolean = true):String
Returns a valid JSON string describing some commonly used display properties. | CynView | ||
describeListeners(compact:Boolean = true):String
Returns a valid JSON string describing the listeners. | CynView | ||
getListeners():Array
Returns a copy of the listeners on the CynView. | CynView | ||
Optionally initialize a view. | CynView | ||
removeAllChildren():Array
Removes all children of the DisplayObject from the display list. | CynView | ||
removeAllListeners():void
Removes all the listeners added. | CynView | ||
removeListener(type:String):void
Shorthand method for removeEventListener. | CynView | ||
Invoked when Event.RESIZE event is fired. | CynView |
CynComponent | () | Constructor |
public function CynComponent(self:CynComponent)
Creates a new instance of CynComponent
.
self:CynComponent — Reference to itself to enforce it as an abstract class.
|
CynError — If attempted to be extended without super(this) .
|