#include <UILayoutParameter.h>
Public Member Functions | |
| RelativeLayoutParameter () | |
| Default constructor. More... | |
| virtual | ~RelativeLayoutParameter () |
| Default destructor. More... | |
| void | setAlign (RelativeAlign align) |
| Sets RelativeAlign parameter for LayoutParameter. More... | |
| RelativeAlign | getAlign () const |
| Gets RelativeAlign 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... | |
| virtual LayoutParameter * | createCloneInstance () |
| virtual void | copyProperties (LayoutParameter *model) |
Public Member Functions inherited from LayoutParameter | |
| LayoutParameter () | |
| virtual | ~LayoutParameter () |
| Default destructor. More... | |
| void | setMargin (const Margin &margin) |
| Sets Margin parameter for LayoutParameter. More... | |
| const Margin & | getMargin () const |
| Gets Margin parameter of LayoutParameter. More... | |
| LayoutParameterType | getLayoutType () const |
| Gets LayoutParameterType of LayoutParameter. More... | |
| LayoutParameter * | clone () |
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 | |
| RelativeAlign | _relativeAlign |
| std::string | _relativeWidgetName |
| std::string | _relativeLayoutName |
| bool | _put |
Protected Attributes inherited from LayoutParameter | |
| Margin | _margin |
| LayoutParameterType | _layoutParameterType |
Protected Attributes inherited from CCObject | |
| unsigned int | m_uReference |
| unsigned int | m_uAutoReleaseCount |
Friends | |
| class | Layout |
Additional Inherited Members | |
Public Attributes inherited from CCObject | |
| unsigned int | m_uID |
| int | m_nLuaID |
|
inline |
Default constructor.
|
inlinevirtual |
Default destructor.
|
virtual |
Reimplemented from LayoutParameter.
|
static |
Allocates and initializes.
|
virtual |
Reimplemented from LayoutParameter.
| RelativeAlign getAlign | ( | ) | const |
| const char* getRelativeName | ( | ) | const |
Gets a name in Relative Layout of LayoutParameter.
| const char* getRelativeToWidgetName | ( | ) | const |
| void setAlign | ( | RelativeAlign | align) |
| void setRelativeName | ( | const char * | name) |
Sets a name in Relative Layout for LayoutParameter.
| name |
| void setRelativeToWidgetName | ( | const char * | name) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |