Class ccui.helper
- Defined in: UIHelper.js
Constructor Attributes | Constructor Name and Description |
---|---|
ccui.helper is the singleton object which is the Helper object contains some functions for seek widget
|
Method Summary
Class Detail
ccui.helper()
ccui.helper is the singleton object which is the Helper object contains some functions for seek widget
Method Detail
-
Finds a widget whose action tag equals to param name from root widget.
- Parameters:
- {ccui.Widget} root
- {Number} tag
- Returns:
- {ccui.Widget}
-
Finds a widget whose name equals to param name from root widget.
- Parameters:
- {ccui.Widget} root
- {String} name
- Returns:
- {ccui.Widget}
-
Finds a widget whose name equals to param name from root widget. RelativeLayout will call this method to find the widget witch is needed.
- Parameters:
- {ccui.Widget} root
- {String} name
- Returns:
- {ccui.Widget}
-
Finds a widget whose tag equals to param tag from root widget.
- Parameters:
- {ccui.Widget} root
- {number} tag
- Returns:
- {ccui.Widget}