Class List

Class casual

Basic object of Casual Framework, provides some core functions.

Class Summary
Constructor Attributes Constructor Name and Description
 
casual()
No Constructor, cannot be instantiated.
Method Summary
Method Attributes Method Name and Description
<static>  
casual.clone(obj)
Make a new object which is the same type as the parameter obj.
<static>  
casual.copy(obj, targetClass, newProperties)
Make a copy of the parameter obj, you also can specify the target class and set new properties.
<static>  
casual.delegate(func, self, args)
Delegate the reference of this within functions.
<static>  
casual.inherit(childClass, parentClass)
Inheritance implementation for Javascript.
<static>  
casual.trace()
Like trace() in as3, for debug purpose.
Class Detail
casual()
No Constructor, cannot be instantiated.
Method Detail
<static> casual.clone(obj)
Make a new object which is the same type as the parameter obj.
Parameters:
obj

<static> casual.copy(obj, targetClass, newProperties)
Make a copy of the parameter obj, you also can specify the target class and set new properties.
Parameters:
obj
targetClass
newProperties

<static> casual.delegate(func, self, args)
Delegate the reference of this within functions.
Parameters:
func
self
args

<static> casual.inherit(childClass, parentClass)
Inheritance implementation for Javascript.
Parameters:
childClass
parentClass

<static> casual.trace()
Like trace() in as3, for debug purpose. you can just use trace().

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 25 2011 15:02:39 GMT+0800 (CST)