#include <LayoutParameter.h>
Public Member Functions | |
| RelativeLayoutParameter () | |
| Default constructor. More... | |
| virtual | ~RelativeLayoutParameter () |
| Default destructor. More... | |
| void | setAlign (UIRelativeAlign align) |
| Sets UIRelativeAlign parameter for LayoutParameter. More... | |
| UIRelativeAlign | getAlign () const |
| Gets UIRelativeAlign parameter for LayoutParameter. More... | |
| void | setRelativeToWidgetName (const char *name) |
| Sets a key for LayoutParameter. More... | |
| const char * | getRelativeToWidgetName () const |
| Gets the key of LayoutParameter. More... | |
| void | setRelativeName (const char *name) |
| Sets a name in Relative Layout for LayoutParameter. More... | |
| const char * | getRelativeName () const |
| Gets a name in Relative Layout of LayoutParameter. More... | |
Public Member Functions inherited from LayoutParameter | |
| LayoutParameter () | |
| virtual | ~LayoutParameter () |
| Default destructor. More... | |
| void | setMargin (const UIMargin &margin) |
| Sets Margin parameter for LayoutParameter. More... | |
| const UIMargin & | getMargin () const |
| Gets Margin parameter of LayoutParameter. More... | |
| LayoutParameterType | getLayoutType () const |
| Gets LayoutParameterType of LayoutParameter. More... | |
Public Member Functions inherited from CCObject | |
| CCObject (void) | |
| virtual | ~CCObject (void) |
| void | release (void) |
| void | retain (void) |
| CCObject * | autorelease (void) |
| CCObject * | copy (void) |
| bool | isSingleReference (void) const |
| unsigned int | retainCount (void) const |
| virtual bool | isEqual (const CCObject *pObject) |
| virtual void | acceptVisitor (CCDataVisitor &visitor) |
| virtual void | update (float dt) |
Public Member Functions inherited from CCCopying | |
| virtual CCObject * | copyWithZone (CCZone *pZone) |
Static Public Member Functions | |
| static RelativeLayoutParameter * | create () |
| Allocates and initializes. More... | |
Static Public Member Functions inherited from LayoutParameter | |
| static LayoutParameter * | create () |
| Allocates and initializes. More... | |
Protected Attributes | |
| UIRelativeAlign | m_eRelativeAlign |
| std::string | m_strRelativeWidgetName |
| std::string | m_strRelativeLayoutName |
Protected Attributes inherited from LayoutParameter | |
| UIMargin | m_margin |
| LayoutParameterType | m_eLayoutParameterType |
Protected Attributes inherited from CCObject | |
| unsigned int | m_uReference |
| unsigned int | m_uAutoReleaseCount |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
|
inline |
Default constructor.
|
inlinevirtual |
Default destructor.
|
static |
Allocates and initializes.
| UIRelativeAlign getAlign | ( | ) | const |
| const char* getRelativeName | ( | ) | const |
Gets a name in Relative Layout of LayoutParameter.
| const char* getRelativeToWidgetName | ( | ) | const |
| void setAlign | ( | UIRelativeAlign | align) |
Sets UIRelativeAlign parameter for LayoutParameter.
| UIRelativeAlign |
| void setRelativeName | ( | const char * | name) |
Sets a name in Relative Layout for LayoutParameter.
| name |
| void setRelativeToWidgetName | ( | const char * | name) |
|
protected |
|
protected |
|
protected |