Packagecom.cyntaxic.cynmvc.view
Classpublic class CynComponent
InheritanceCynComponent Inheritance CynView Inheritance flash.display.Sprite
Implements ICynView

CynComponent is a CynView that has no CynView children.



Protected Properties
 PropertyDefined By
 InheritedcynController : CynController
A reference to the CynController.
CynView
 InheritedcynModel : CynModel
A reference to the CynModel.
CynView
 InheriteddescribeProperties : Array
List of properties to describe on the view when using describe.
CynView
 InheritedsuppressDebug : Boolean = false
Flag to set whether debugging is suppressed for this CynView.
CynView
Public Methods
 MethodDefined By
  
Creates a new instance of CynComponent.
CynComponent
 Inherited
addListener(type:String, listener:Function, props:Object = null):void
Shorthand method for addEventListener.
CynView
 Inherited
addWeakListener(type:String, listener:Function):void
Shorthand method for addEventListener using weak reference.
CynView
 Inherited
describe(compact:Boolean = true):String
Returns a valid JSON string describing some commonly used display properties.
CynView
 Inherited
describeListeners(compact:Boolean = true):String
Returns a valid JSON string describing the listeners.
CynView
 Inherited
getListeners():Array
Returns a copy of the listeners on the CynView.
CynView
 Inherited
Optionally initialize a view.
CynView
 Inherited
Removes all children of the DisplayObject from the display list.
CynView
 Inherited
Removes all the listeners added.
CynView
 Inherited
removeListener(type:String):void
Shorthand method for removeEventListener.
CynView
 Inherited
resize(vo:ResizeVO):void
Invoked when Event.RESIZE event is fired.
CynView
Protected Methods
 MethodDefined By
 Inherited
debug(message:Object):void
Traces out a debugging message.
CynView
Constructor Detail
CynComponent()Constructor
public function CynComponent(self:CynComponent)

Creates a new instance of CynComponent.

Parameters
self:CynComponent — Reference to itself to enforce it as an abstract class.

Throws
CynError — If attempted to be extended without super(this).