CAPH.WUI.WIDGET.BASICOBJECT
BasicObject represents the basic class for all classes in "Caph / UI Component." All classes in "Caph / UI Component" inherit from BasicObject. All prototype and static members of this class are inherited by all other classes in "Caph / UI Component"
Contents
Methods
BasicObject | ||
Description | ||
Represents the basic class for all classes. All classes inherit from BasicObject. All prototype and static members of this class are inherited by all other classes. | ||
Parameters | ■Void | |
Return | ■BasicObject - Instance of BasicObject | |
Emulator Support | Y | |
SDK Constraint | none | |
Example | ||
var BasicObject = window.caph.wui.widget.BasicObject; |
clone | ||
Description | ||
Creates and returns clone object from current object, the cloned object will have the same properties and same methods with the current object. | ||
Parameters | ■Void | |
Return | ■Object - The cloned object. | |
Emulator Support | Y | |
SDK Constraint | none | |
Example | ||
var BasicObject = window.caph.wui.widget.BasicObject; var basicobject =new BasicObject(); var obj = basicobject.clone(); |
equals | ||
Description | ||
Compares the contents of two objects using strict equality, objects are considered equal if they both have the same set of properties and the values of those properties are equal. | ||
Parameters | ■Object - Object - The object which wants to compare with current object. | |
Return | ■Boolean - true : Indicates whether the two objects are equal, if they are equal, return true. - false : if they aren't equal, return false. | |
Emulator Support | Y | |
SDK Constraint | none | |
Example | ||
var BasicObject = window.caph.wui.widget.BasicObject; var basicobject =new BasicObject(); var obj = basicobject.clone(); var isequal = obj.equals(basicobject); |