cocos2d-x  3.2alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LayoutReader Class Reference

#include <LayoutReader.h>

Inheritance diagram for LayoutReader:
WidgetReader Ref WidgetReaderProtocol PageViewReader ScrollViewReader ListViewReader

Public Member Functions

DECLARE_CLASS_WIDGET_READER_INFO LayoutReader ()
var LayoutReader ()
local LayoutReader ()
virtual ~LayoutReader ()
virtual void setPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
local setPropsFromJsonDictionary ( local widget, local options)
- Public Member Functions inherited from WidgetReader
DECLARE_CLASS_WIDGET_READER_INFO WidgetReader ()
var WidgetReader ()
local WidgetReader ()
virtual ~WidgetReader ()
virtual void setColorPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
local setColorPropsFromJsonDictionary ( local widget, local options)
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases 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 LayoutReadergetInstance ()
static void purge ()
- Static Public Member Functions inherited from WidgetReader
static WidgetReadergetInstance ()
static void purge ()
local purge ()

Additional Inherited Members

- Protected Member Functions inherited from WidgetReader
std::string getResourcePath (const rapidjson::Value &dict, const std::string &key, cocos2d::ui::Widget::TextureResType texType)
local getResourcePath ( local dict, local key, local texType)
void setAnchorPointForWidget (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

var LayoutReader ( )
local LayoutReader ( )
virtual ~LayoutReader ( )
virtual
var ~LayoutReader ( )
virtual
local ~LayoutReader ( )
virtual

Member Function Documentation

static LayoutReader* getInstance ( )
static
var getInstance ( )
static
local getInstance ( )
static
static void purge ( )
static
var purge ( )
static
local purge ( )
static
virtual void
setPropsFromJsonDictionary
( cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
virtual

Reimplemented from WidgetReader.

Reimplemented in ListViewReader, PageViewReader, and ScrollViewReader.

var setPropsFromJsonDictionary ( var  widget,
var  options 
)
virtual

Reimplemented from WidgetReader.

Reimplemented in ListViewReader, PageViewReader, and ScrollViewReader.

local setPropsFromJsonDictionary ( local  widget,
local  options 
)
virtual

Reimplemented from WidgetReader.

Reimplemented in ListViewReader, PageViewReader, and ScrollViewReader.


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