|
Jamba C++ API 7.5.0
|
Defines and registers the attributes exposed in the VSTGUI Editor and XML file (.uidesc) for CustomViewAdapter. More...
#include <CustomView.h>
Inherits TCustomViewCreator< CustomViewAdapter >.
Public Member Functions | |
| Creator (char const *iViewName=nullptr, char const *iDisplayName=nullptr) | |
| Public Member Functions inherited from TCustomViewCreator< CustomViewAdapter > | |
| bool | apply (CView *view, const UIAttributes &attributes, const IUIDescription *description) const override |
| Extract all the attribute values and apply them to the view. | |
| CView * | create (const UIAttributes &attributes, const IUIDescription *description) const override |
| This is the factory method which will instantiate the view. | |
| bool | getAttributeNames (std::list< std::string > &attributeNames) const override |
| AttrType | getAttributeType (const std::string &attributeName) const override |
| IdStringPtr | getBaseViewName () const override |
| UTF8StringPtr | getDisplayName () const override |
| IdStringPtr | getViewName () const override |
| void | registerAttributes (TCustomViewCreator< XView > const &iOther) |
| This method is called to register all the attributes from another CustomViewCreator (used in case of inheritance). | |
| void | registerBitmapAttribute (std::string const &iName, typename BitmapAttribute::Getter iGetter, typename BitmapAttribute::Setter iSetter) |
| Registers a bitmap attribute with the given name and getter/setter. | |
| void | registerBooleanAttribute (std::string const &iName, typename BooleanAttribute::Getter iGetter, typename BooleanAttribute::Setter iSetter) |
| Registers a boolean attribute with the given name and getter/setter. | |
| void | registerColorAttribute (std::string const &iName, typename ColorAttribute::Getter iGetter, typename ColorAttribute::Setter iSetter) |
| Registers a color attribute with the given name and getter/setter. | |
| void | registerDoubleAttribute (std::string const &iName, typename FloatAttribute< double >::Getter iGetter, typename FloatAttribute< double >::Setter iSetter) |
| Registers a double attribute with the given name and getter/setter. | |
| void | registerFloatAttribute (std::string const &iName, typename FloatAttribute< float >::Getter iGetter, typename FloatAttribute< float >::Setter iSetter) |
| Registers a float attribute with the given name and getter/setter. | |
| void | registerFontAttribute (std::string const &iName, typename FontAttribute::Getter iGetter, typename FontAttribute::Setter iSetter) |
| Registers a font attribute with the given name and getter/setter. | |
| void | registerGradientAttribute (std::string const &iName, typename GradientAttribute::Getter iGetter, typename GradientAttribute::Setter iSetter) |
| Registers a gradient attribute with the given name and getter/setter. | |
| void | registerIntAttribute (std::string const &iName, typename IntegerAttribute< int32_t >::Getter iGetter, typename IntegerAttribute< int32_t >::Setter iSetter) |
| Registers an int attribute with the given name and getter/setter. | |
| void | registerIntegerAttribute (std::string const &iName, typename IntegerAttribute< TInt >::Getter iGetter, typename IntegerAttribute< TInt >::Setter iSetter) |
| Registers an Integer (any kind) attribute with the given name and getter/setter. | |
| void | registerListAttribute (std::string const &iName, typename ListAttribute< T >::Getter iGetter, typename ListAttribute< T >::Setter iSetter, AttrValInitList< T > const &iAttributeValues) |
| Registers a list attribute with the given name and getter/setter. | |
| void | registerMarginAttribute (std::string const &iName, typename MarginAttribute::Getter iGetter, typename MarginAttribute::Setter iSetter) |
| Registers a Margin attribute with the given name and getter/setter. | |
| void | registerRangeAttribute (std::string const &iName, typename RangeAttribute::Getter iGetter, typename RangeAttribute::Setter iSetter) |
| Registers a Range attribute with the given name and getter/setter. | |
| void | registerTagAttribute (std::string const &iName, typename TagAttribute::Getter iGetter, typename TagAttribute::Setter iSetter) |
| Registers a tag attribute with the given name and getter/setter. | |
| void | registerVectorStringAttribute (std::string const &iName, typename VectorStringAttribute::Getter iGetter, typename VectorStringAttribute::Setter iSetter, char iDelimiter=',', bool iSkipEmptyEntries=false) |
| Registers a Range attribute with the given name and getter/setter. | |
| TCustomViewCreator (char const *iViewName=nullptr, char const *iDisplayName=nullptr, char const *iBaseViewName=VSTGUI::UIViewCreator::kCView) | |
| ~TCustomViewCreator () override | |
Defines and registers the attributes exposed in the VSTGUI Editor and XML file (.uidesc) for CustomViewAdapter.
|
inlineexplicit |