cocos2d-x  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
UIHelper Class Reference

#include <UIHelper.h>

Static Public Member Functions

static UIWidgetseekWidgetByTag (UIWidget *root, int tag)
 @ More...
 
var seekWidgetByTag ( var root, var tag)
 @ More...
 
name value.

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
rootwidget which will be seeked.
Returns
finded result.
static UIWidgetseekWidgetByName (UIWidget *root, const char *name)
var seekWidgetByName ( var root, var name)
static UIWidgetseekWidgetByRelativeName (UIWidget *root, const char *name)
static UIWidgetseekActionWidgetByActionTag (UIWidget *root, int tag)
var seekActionWidgetByActionTag ( var root, var tag)

Member Function Documentation

static UIWidget*
seekActionWidgetByActionTag
( UIWidget root,
int  tag 
)
static
var seekActionWidgetByActionTag ( var  root,
var  tag 
)
static
static UIWidget* seekWidgetByName ( UIWidget root,
const char *  name 
)
static
var seekWidgetByName ( var  root,
var  name 
)
static
static UIWidget*
seekWidgetByRelativeName
( UIWidget root,
const char *  name 
)
static
var seekWidgetByRelativeName ( var  root,
var  name 
)
static
static UIWidget* seekWidgetByTag ( UIWidget root,
int  tag 
)
static

@

@

@

var seekWidgetByTag ( var  root,
var  tag 
)
static

@

@

@


The documentation for this class was generated from the following file: