Implementation of base Click Concept class for derived classes. More...
#include <kanzi/core.ui/input/click_concept.hpp>
Public Member Functions | |
bool | isDoubleClickEnabled () const |
Gets the value of DoubleClickEnabledProperty. More... | |
void | setDoubleClickEnabled (bool value) |
Sets the value of DoubleClickEnabledProperty. More... | |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::ClickConcept | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
ClickConceptImpl (Domain *domain, string_view name) | |
Constructor. More... | |
void | configureDoubleClick () |
Configures a MultiClickManipulator for an ClickConcept-derived class based on the value of the DoubleClickEnabledProperty: More... | |
void | onAttached () override |
Overrides TBaseClass::onAttached(). More... | |
void | onClicked (ClickManipulator::ClickMessageArguments &messageArguments) |
Handles click event. More... | |
void | onDetached () override |
Overrides TBaseClass::onDetached(). More... | |
void | onMultiClicked (MultiClickManipulator::MultiClickMessageArguments &messageArguments) |
Handles multi-click event. More... | |
void | onNodePropertyChanged (AbstractPropertyType propertyType, PropertyNotificationReason reason) override |
Overrides TBaseClass::onNodePropertyChanged(). More... | |
Additional Inherited Members | |
Static Public Attributes inherited from kanzi::ClickConcept | |
static PropertyType< bool > | DoubleClickEnabledProperty |
Enables the double-click gesture for a node. More... | |
Protected Attributes inherited from kanzi::ClickConcept | |
ClickManipulatorSharedPtr | m_clickManipulator |
The ClickManipulator. More... | |
MultiClickManipulatorSharedPtr | m_multiClickManipulator |
Multi-Click manipulator. More... | |
Implementation of base Click Concept class for derived classes.
TBaseClass | Type of the base class, derived from Node2D or Node3D. |
TDerivedClass | Type of the derived class that holds the Click Concept properties. |
|
explicitprotected |
Constructor.
|
inlinestatic |
|
inline |
Gets the value of DoubleClickEnabledProperty.
|
inline |
Sets the value of DoubleClickEnabledProperty.
value | The value to set to the DoubleClickEnabledProperty. |
|
overrideprotected |
Overrides TBaseClass::onAttached().
Reimplemented in kanzi::ButtonConceptImpl< Node2D, Button2D >, kanzi::ButtonConceptImpl< Node3D, Button3D >, kanzi::ButtonConceptImpl< Node3D, ToggleButton3D >, and kanzi::ButtonConceptImpl< Node2D, ToggleButton2D >.
|
overrideprotected |
Overrides TBaseClass::onDetached().
Reimplemented in kanzi::ButtonConceptImpl< Node2D, Button2D >, kanzi::ButtonConceptImpl< Node3D, Button3D >, kanzi::ButtonConceptImpl< Node3D, ToggleButton3D >, and kanzi::ButtonConceptImpl< Node2D, ToggleButton2D >.
|
overrideprotected |
Overrides TBaseClass::onNodePropertyChanged().
Reimplemented in kanzi::ButtonConceptImpl< Node2D, Button2D >, kanzi::ButtonConceptImpl< Node3D, Button3D >, kanzi::ButtonConceptImpl< Node3D, ToggleButton3D >, and kanzi::ButtonConceptImpl< Node2D, ToggleButton2D >.
|
protected |
Handles click event.
|
protected |
Handles multi-click event.
|
protected |
Configures a MultiClickManipulator for an ClickConcept-derived class based on the value of the DoubleClickEnabledProperty: