Default view factory. More...
Public Member Functions | |
UIViewFactory () | |
~UIViewFactory () | |
CView * | createView (const UIAttributes &attributes, IUIDescription *description) |
bool | applyAttributeValues (CView *view, const UIAttributes &attributes, IUIDescription *desc) const |
IdStringPtr | getViewName (CView *view) const |
bool | applyCustomViewAttributeValues (CView *customView, IdStringPtr baseViewName, const UIAttributes &attributes, IUIDescription *desc) const |
Reference Counting Methods | |
virtual void | forget () |
decrease refcount and delete object if refcount == 0 | |
virtual void | remember () |
increase refcount | |
virtual int32_t | getNbReference () const |
get refcount | |
Message Methods | |
virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Static Public Member Functions | |
static void | registerViewCreator (const IViewCreator &viewCreator) |
Protected Member Functions | |
CView * | createViewByName (const std::string *className, const UIAttributes &attributes, IUIDescription *description) |
Default view factory.
UIViewFactory | ( | ) |
~UIViewFactory | ( | ) |
bool applyAttributeValues | ( | CView * | view, | |
const UIAttributes & | attributes, | |||
IUIDescription * | desc | |||
) | const [virtual] |
Implements IViewFactory.
bool applyCustomViewAttributeValues | ( | CView * | customView, | |
IdStringPtr | baseViewName, | |||
const UIAttributes & | attributes, | |||
IUIDescription * | desc | |||
) | const |
CView * createView | ( | const UIAttributes & | attributes, | |
IUIDescription * | description | |||
) | [virtual] |
Implements IViewFactory.
CView * createViewByName | ( | const std::string * | className, | |
const UIAttributes & | attributes, | |||
IUIDescription * | description | |||
) | [protected] |
virtual void forget | ( | ) | [inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
virtual int32_t getNbReference | ( | ) | const [inline, virtual, inherited] |
get refcount
IdStringPtr getViewName | ( | CView * | view | ) | const |
virtual CMessageResult notify | ( | CBaseObject * | sender, | |
IdStringPtr | message | |||
) | [inline, virtual, inherited] |
void registerViewCreator | ( | const IViewCreator & | viewCreator | ) | [static] |
virtual void remember | ( | ) | [inline, virtual, inherited] |
increase refcount