Flow layout concept implementation base class. More...
#include <kanzi/ui/node/concept/flow_layout.hpp>
Public Member Functions | |
LayoutDirection | getPrimaryDirection () const |
Gets the value of PrimaryDirectionProperty. More... | |
void | setPrimaryDirection (LayoutDirection value) |
Sets the value of PrimaryDirectionProperty. More... | |
LayoutDirection | getSecondaryDirection () const |
Gets the value of SecondaryDirectionProperty. More... | |
void | setSecondaryDirection (LayoutDirection value) |
Sets the value of SecondaryDirectionProperty. More... | |
Static Public Member Functions | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Static Public Member Functions inherited from kanzi::FlowLayoutConcept | |
static PropertyTypeEditorInfoSharedPtr | makeEditorInfo () |
Protected Member Functions | |
FlowLayoutConceptImpl (Domain *domain, string_view name) | |
Constructor. More... | |
Additional Inherited Members | |
Public Types inherited from kanzi::FlowLayoutConcept | |
enum | LayoutDirection { DirectionLeftToRight, DirectionRightToLeft, DirectionTopToBottom, DirectionBottomToTop, DirectionNearToFar, DirectionFarToNear } |
Direction (or axis) of the layout, used in both primary and secondary direction. More... | |
Static Public Attributes inherited from kanzi::FlowLayoutConcept | |
static PropertyType< FlowLayoutConcept::LayoutDirection > | PrimaryDirectionProperty |
PrimaryDirection property. More... | |
static PropertyType< FlowLayoutConcept::LayoutDirection > | SecondaryDirectionProperty |
SecondaryDirection property. More... | |
Flow layout concept implementation base class.
FlowLayoutConceptImpl provides the functionality to implement a flow layout. FlowLayoutConceptImpl derives from FlowLayoutConcept, which defines the data and property types used by the implementation. Do not use these classes directly. To use a flow layout in your application use FlowLayout3D or FlowLayout2D. To implement a custom flow layout derive from FlowLayoutConceptImpl. The expected inheritance graph is TBaseClass <- FlowLayoutConceptImpl <- YourClass.
|
explicitprotected |
Constructor.
domain | The UI domain the new node belongs to. |
name | The name of the node. |
|
static |
FlowLayoutConcept::LayoutDirection kanzi::FlowLayoutConceptImpl< TBaseClass, TDerivedClass >::getPrimaryDirection | ( | ) | const |
Gets the value of PrimaryDirectionProperty.
void kanzi::FlowLayoutConceptImpl< TBaseClass, TDerivedClass >::setPrimaryDirection | ( | LayoutDirection | value | ) |
Sets the value of PrimaryDirectionProperty.
FlowLayoutConcept::LayoutDirection kanzi::FlowLayoutConceptImpl< TBaseClass, TDerivedClass >::getSecondaryDirection | ( | ) | const |
Gets the value of SecondaryDirectionProperty.
void kanzi::FlowLayoutConceptImpl< TBaseClass, TDerivedClass >::setSecondaryDirection | ( | LayoutDirection | value | ) |
Sets the value of SecondaryDirectionProperty.