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

#include <WidgetReader.h>

Inheritance diagram for WidgetReader:
Ref WidgetReaderProtocol ButtonReader CheckBoxReader ImageViewReader LayoutReader LoadingBarReader SliderReader TextAtlasReader TextBMFontReader TextFieldReader TextReader

Public Member Functions

DECLARE_CLASS_WIDGET_READER_INFO WidgetReader ()
var WidgetReader ()
local WidgetReader ()
virtual ~WidgetReader ()
local ~WidgetReader ()
virtual void setPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
local setPropsFromJsonDictionary ( local widget, local options)
virtual void setColorPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
var setColorPropsFromJsonDictionary ( var widget, var options)
local setColorPropsFromJsonDictionary ( local widget, local options)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Release the ownership immediately. More...
 
Refautorelease ()
 Release the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
- Public Member Functions inherited from WidgetReaderProtocol
virtual ~WidgetReaderProtocol ()

Static Public Member Functions

static WidgetReadergetInstance ()
static void purge ()
var purge ()
local purge ()

Protected Member Functions

std::string getResourcePath (const rapidjson::Value &dict, const std::string &key, cocos2d::ui::TextureResType texType)
local getResourcePath ( local dict, local key, local texType)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

var WidgetReader ( )
local WidgetReader ( )
virtual ~WidgetReader ( )
virtual
var ~WidgetReader ( )
virtual
local ~WidgetReader ( )
virtual

Member Function Documentation

static WidgetReader* getInstance ( )
static
var getInstance ( )
static
local getInstance ( )
static
std::string getResourcePath ( const rapidjson::Value &  dict,
const std::string &  key,
cocos2d::ui::TextureResType  texType 
)
protected
var getResourcePath ( var  dict,
var  key,
var  texType 
)
protected
local getResourcePath ( local  dict,
local  key,
local  texType 
)
protected
static void purge ( )
static
var purge ( )
static
local purge ( )
static
virtual void
setColorPropsFromJsonDictionary
( cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
virtual
var setColorPropsFromJsonDictionary ( var  widget,
var  options 
)
virtual
local
setColorPropsFromJsonDictionary
( local  widget,
local  options 
)
virtual
virtual void
setPropsFromJsonDictionary
( cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
virtual
var setPropsFromJsonDictionary ( var  widget,
var  options 
)
virtual
local setPropsFromJsonDictionary ( local  widget,
local  options 
)
virtual

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