cocos2d-x  3.3rc0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ListViewReader Class Reference

#include <ListViewReader.h>

Inheritance diagram for ListViewReader:
ScrollViewReader LayoutReader WidgetReader Ref WidgetReaderProtocol

Public Member Functions

DECLARE_CLASS_WIDGET_READER_INFO ListViewReader ()
var ListViewReader ()
local ListViewReader ()
virtual ~ListViewReader ()
var ~ListViewReader ()
local ~ListViewReader ()
virtual void setPropsFromJsonDictionary (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
local setPropsFromJsonDictionary ( local widget, local options)
virtual void setPropsFromBinary (cocos2d::ui::Widget *widget, CocoLoader *cocoLoader, stExpCocoNode *pCocoNode)
local setPropsFromBinary ( local widget, local cocoLoader, local pCocoNode)
virtual void setPropsFromProtocolBuffers (cocos2d::ui::Widget *widget, const protocolbuffers::NodeTree &nodeTree)
local setPropsFromProtocolBuffers ( local widget, local nodeTree)
virtual void setPropsFromXML (cocos2d::ui::Widget *widget, const tinyxml2::XMLElement *objectData)
- Public Member Functions inherited from ScrollViewReader
DECLARE_CLASS_WIDGET_READER_INFO ScrollViewReader ()
var ScrollViewReader ()
local ScrollViewReader ()
virtual ~ScrollViewReader ()
- Public Member Functions inherited from LayoutReader
DECLARE_CLASS_WIDGET_READER_INFO LayoutReader ()
var LayoutReader ()
local LayoutReader ()
virtual ~LayoutReader ()
- 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)
virtual void setColorPropsFromProtocolBuffers (cocos2d::ui::Widget *widget, const protocolbuffers::NodeTree &nodeTree)
- 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...
 
local getReferenceCount ()
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
- Public Member Functions inherited from WidgetReaderProtocol
virtual ~WidgetReaderProtocol ()

Static Public Member Functions

static ListViewReadergetInstance ()
static void purge ()
- Static Public Member Functions inherited from ScrollViewReader
static ScrollViewReadergetInstance ()
local getInstance ()
static void purge ()
- Static Public Member Functions inherited from LayoutReader
static LayoutReadergetInstance ()
static void purge ()
- Static Public Member Functions inherited from WidgetReader
static WidgetReadergetInstance ()
static void 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)
std::string getResourcePath (CocoLoader *cocoLoader, stExpCocoNode *pCocoNode, cocos2d::ui::Widget::TextureResType texType)
void setAnchorPointForWidget (cocos2d::ui::Widget *widget, const protocolbuffers::NodeTree &nodeTree)
std::string getResourcePath (const std::string &path, cocos2d::ui::Widget::TextureResType texType)
void beginSetBasicProperties (cocos2d::ui::Widget *widget)
void endSetBasicProperties (cocos2d::ui::Widget *widget)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 
- Protected Attributes inherited from WidgetReader
std::function< int(const
std::string &)> 
valueToInt
std::function< bool(const
std::string &)> 
valueToBool
std::function< float(const
std::string &)> 
valueToFloat
var valueToFloat
local valueToFloat
float _sizePercentX
float _sizePercentY
float _positionPercentX
float _positionPercentY
float _width
float _height
cocos2d::Color3B _color
int _opacity
cocos2d::Vec2 _position
bool _isAdaptScreen
cocos2d::Vec2 _originalAnchorPoint
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

var ListViewReader ( )
local ListViewReader ( )
virtual ~ListViewReader ( )
virtual
var ~ListViewReader ( )
virtual
local ~ListViewReader ( )
virtual

Member Function Documentation

static ListViewReader* getInstance ( )
static
var getInstance ( )
static
local getInstance ( )
static
static void purge ( )
static
var purge ( )
static
local purge ( )
static
virtual void setPropsFromBinary ( cocos2d::ui::Widget widget,
CocoLoader cocoLoader,
stExpCocoNode pCocoNode 
)
virtual

Reimplemented from ScrollViewReader.

var setPropsFromBinary ( var  widget,
var  cocoLoader,
var  pCocoNode 
)
virtual

Reimplemented from ScrollViewReader.

local setPropsFromBinary ( local  widget,
local  cocoLoader,
local  pCocoNode 
)
virtual

Reimplemented from ScrollViewReader.

virtual void
setPropsFromJsonDictionary
( cocos2d::ui::Widget widget,
const rapidjson::Value &  options 
)
virtual

Reimplemented from ScrollViewReader.

var setPropsFromJsonDictionary ( var  widget,
var  options 
)
virtual

Reimplemented from ScrollViewReader.

local setPropsFromJsonDictionary ( local  widget,
local  options 
)
virtual

Reimplemented from ScrollViewReader.

virtual void
setPropsFromProtocolBuffers
( cocos2d::ui::Widget widget,
const protocolbuffers::NodeTree nodeTree 
)
virtual

Reimplemented from ScrollViewReader.

var setPropsFromProtocolBuffers ( var  widget,
var  nodeTree 
)
virtual

Reimplemented from ScrollViewReader.

local setPropsFromProtocolBuffers ( local  widget,
local  nodeTree 
)
virtual

Reimplemented from ScrollViewReader.

virtual void setPropsFromXML ( cocos2d::ui::Widget widget,
const tinyxml2::XMLElement *  objectData 
)
virtual

Reimplemented from ScrollViewReader.

var setPropsFromXML ( var  widget,
var  objectData 
)
virtual

Reimplemented from ScrollViewReader.

local setPropsFromXML ( local  widget,
local  objectData 
)
virtual

Reimplemented from ScrollViewReader.


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