cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
Public 成员函数 - 图1 Public 成员函数 - 图2)
- 类列表 - 类索引 - 类继承关系 - 类成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

Public 成员函数 | 所有成员列表

WidgetPropertiesReader0250类 参考

#include

类 WidgetPropertiesReader0250 继承关系图:

Public 成员函数 - 图3 WidgetPropertiesReader Ref

## Public 成员函数
WidgetPropertiesReader0250 ()
virtual ~WidgetPropertiesReader0250 ()
virtual cocos2d::ui::Widget createWidget (const rapidjson::Value &dic, const char fullPath, const char fileName)
virtual cocos2d::ui::Widget widgetFromJsonDictionary (const rapidjson::Value &dic)
virtual void setPropsForWidgetFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setColorPropsForWidgetFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForButtonFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForCheckBoxFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForImageViewFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForLabelFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForLabelAtlasFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForLabelBMFontFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForLoadingBarFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForSliderFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForTextFieldFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForLayoutFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForScrollViewFromJsonDictionary (cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForAllWidgetFromJsonDictionary (WidgetReaderProtocol reader, cocos2d::ui::Widget widget, const rapidjson::Value &options)
virtual void setPropsForAllCustomWidgetFromJsonDictionary (const std::string &classType, cocos2d::ui::Widget widget, const rapidjson::Value &customOptions)
- Public 成员函数 继承自 Ref
void retain ()
保留所有权. 更多…
void release ()
立即释放所有权. 更多…
Ref * autorelease ()
自动释放所有权在不久的将来. 更多…
unsigned int getReferenceCount () const
返回Ref对象当前的引用计数. 更多…
virtual ~Ref ()
NA NA 更多…
## 额外继承的成员函数
- Protected 成员函数 继承自 WidgetPropertiesReader
void setAnchorPointForWidget (cocos2d::ui::Widget *widget, const rapidjson::Value &options)
- Protected 成员函数 继承自 Ref
Ref ()
构造函数 更多…
- Protected 属性 继承自 WidgetPropertiesReader
std::string m_strFilePath
- Protected 属性 继承自 Ref
unsigned int _referenceCount
引用计数 更多…

构造及析构函数说明

WidgetPropertiesReader0250 ( )

inline

virtual ~WidgetPropertiesReader0250 ( )

inlinevirtual

成员函数说明

virtual cocos2d::ui::Widget createWidget ( const rapidjson::Value & dic,
const char fullPath,
const char * fileName
)

virtual

实现了 WidgetPropertiesReader.

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

virtual

virtual void setPropsForAllCustomWidgetFromJsonDictionary ( const std::string & classType,
cocos2d::ui::Widget * widget,
const rapidjson::Value & customOptions
)

virtual

实现了 WidgetPropertiesReader.

virtual void setPropsForAllWidgetFromJsonDictionary ( WidgetReaderProtocol reader,
cocos2d::ui::Widget widget,
const rapidjson::Value & options
)

virtual

实现了 WidgetPropertiesReader.

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

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

virtual

virtual cocos2d::ui::Widget* widgetFromJsonDictionary ( const rapidjson::Value & dic)

virtual

实现了 WidgetPropertiesReader.


该类的文档由以下文件生成:

  • /Users/zeroyang/Documents/github/cocos2d-x/cocos/editor-support/cocostudio/CCSGUIReader.h