|
Jamba C++ API 7.5.0
|
Base abstract class for an attribute of a view. More...
#include <CustomViewCreator.h>
Inherited by TCustomViewCreator< TView >::TAttribute< T, T(TView::*)() const, void(TView::*)(T)>, TCustomViewCreator< TView >::TAttribute< T, T const &(TView::*)() const, void(TView::*)(T const &)>, and TCustomViewCreator< TView >::TAttribute< T, TGetter, TSetter >.
Public Member Functions | |
| virtual bool | apply (CView *iView, const UIAttributes &iAttributes, const IUIDescription *iDescription)=0 |
| Extracts the value from iAttributes for getName() attribute and "apply" it on the view provided. | |
| std::string | getName () const |
| Name of the attribute (which ends up being an attribute in the xml file) Ex: <view back-color="~ BlackCColor" .../> => back-color. | |
| virtual IViewCreator::AttrType | getType ()=0 |
| ViewAttribute (std::string iName) | |
Private Attributes | |
| std::string | fName |
Base abstract class for an attribute of a view.
|
inlineexplicit |
|
pure virtual |
Extracts the value from iAttributes for getName() attribute and "apply" it on the view provided.
Subclass will handle the extraction based on type.
Implemented in TCustomViewCreator< TView >::TAttribute< T, TGetter, TSetter >, TCustomViewCreator< TView >::TAttribute< T, T const &(TView::*)() const, void(TView::*)(T const &)>, and TCustomViewCreator< TView >::TAttribute< T, T(TView::*)() const, void(TView::*)(T)>.
|
inline |
Name of the attribute (which ends up being an attribute in the xml file) Ex: <view back-color="~ BlackCColor" .../> => back-color.
|
pure virtual |
Implemented in TCustomViewCreator< TView >::BitmapAttribute, TCustomViewCreator< TView >::BooleanAttribute, TCustomViewCreator< TView >::ColorAttribute, TCustomViewCreator< TView >::FloatAttribute< TFloat >, TCustomViewCreator< TView >::FontAttribute, TCustomViewCreator< TView >::GradientAttribute, TCustomViewCreator< TView >::IntegerAttribute< TInt >, TCustomViewCreator< TView >::ListAttribute< T >, TCustomViewCreator< TView >::TagAttribute, TCustomViewCreator< TView >::TAttribute< T, TGetter, TSetter >, TCustomViewCreator< TView >::TAttribute< T, T const &(TView::*)() const, void(TView::*)(T const &)>, and TCustomViewCreator< TView >::TAttribute< T, T(TView::*)() const, void(TView::*)(T)>.
|
private |