Base class for managing layout. More...
Inherits Ref.
Inherited by LinearHorizontalLayoutManager, LinearVerticalLayoutManager, and RelativeLayoutManager.
Public Member Functions | |
virtual void | doLayout (LayoutProtocol *layout)=0 |
The interface does the actual layouting work. | |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
unsigned int | _ID |
object id, ScriptSupport need public _ID | |
int | _luaID |
Lua reference id. | |
void * | _scriptObject |
scriptObject, support for swift | |
Base class for managing layout.
All the concret layout manager should inherit from this class.