#include <UILayoutParameter.h>
Public Member Functions | |
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 () |
virtual LayoutParameter * | createCloneInstance () |
virtual void | copyProperties (LayoutParameter *model) |
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 LayoutParameter * | create () |
Allocates and initializes. More... | |
Protected Attributes | |
Margin | _margin |
LayoutParameterType | _layoutParameterType |
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 |
|
inlinevirtual |
Default destructor.
LayoutParameter* clone | ( | ) |
|
virtual |
Reimplemented in RelativeLayoutParameter, and LinearLayoutParameter.
|
static |
Allocates and initializes.
|
virtual |
Reimplemented in RelativeLayoutParameter, and LinearLayoutParameter.
LayoutParameterType getLayoutType | ( | ) | const |
const Margin& getMargin | ( | ) | const |
void setMargin | ( | const Margin & | margin) |
|
protected |
|
protected |