ADataBindingDefault#
Defines how View handles properties of FieldType type.
| Header: | #include <AUI/Util/ADataBinding.h> |
| CMake: | aui_link(my_target PUBLIC aui::views) |
Detailed Description#
Example specialization:
template<>
struct ADataBindingDefault<ALabel, AString> {
public:
static auto property(const _<ALabel>& view) { return view->text(); }
};
Public Methods#
ASignal#
static ADataBindingDefault::ASignal<FieldType>(View::* getGetter())
Returns getter for ADataBinding (deprecated)
property#
static auto ADataBindingDefault::property(const _<View>& view)
Returns property definition for FieldType
- Arguments
viewview to return property of
setup#
static void ADataBindingDefault::setup(const _<View>& view)
Called then view linked with field.
- Arguments
viewview to link with
void#
Returns setter for ADataBinding (deprecated)