kanzi::FlowLayoutConcept Class Reference

Flow layout concept base class. More...

#include <kanzi/ui/node/concept/flow_layout.hpp>

Inheritance diagram for kanzi::FlowLayoutConcept:
kanzi::FlowLayoutConceptImpl< Node2D, FlowLayout2D > kanzi::FlowLayoutConceptImpl< Node3D, FlowLayout3D > kanzi::FlowLayoutConceptImpl< TBaseClass, TDerivedClass > kanzi::FlowLayout2D kanzi::FlowLayout3D

Public Types

enum  LayoutDirection {
  DirectionLeftToRight, DirectionRightToLeft, DirectionTopToBottom, DirectionBottomToTop,
  DirectionNearToFar, DirectionFarToNear
}
 Direction (or axis) of the layout, used in both primary and secondary direction. More...
 

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Static Public Attributes

static PropertyType< FlowLayoutConcept::LayoutDirectionPrimaryDirectionProperty
 PrimaryDirection property. More...
 
static PropertyType< FlowLayoutConcept::LayoutDirectionSecondaryDirectionProperty
 SecondaryDirection property. More...
 

Detailed Description

Flow layout concept base class.

FlowLayoutConcept defines the data and property types used to implement a flow layout. FlowLayoutConceptImpl derives from StackLayoutConcept to provide the functionality to implement a flow layout. 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.

Member Enumeration Documentation

Direction (or axis) of the layout, used in both primary and secondary direction.

Enumerator
DirectionLeftToRight 

Left to right direction.

DirectionRightToLeft 

Left to right direction.

DirectionTopToBottom 

Top to bottom direction.

DirectionBottomToTop 

Bottom to top direction.

DirectionNearToFar 

Near to far direction.

DirectionFarToNear 

Far to near direction.

Member Function Documentation

static PropertyTypeEditorInfoSharedPtr kanzi::FlowLayoutConcept::makeEditorInfo ( )
static

Member Data Documentation

PropertyType<FlowLayoutConcept::LayoutDirection> kanzi::FlowLayoutConcept::PrimaryDirectionProperty
static

PrimaryDirection property.

The default value is FlowLayoutConcept::DirectionLeftToRight.

See also
setPrimaryDirection(), getPrimaryDirection()
PropertyType<FlowLayoutConcept::LayoutDirection> kanzi::FlowLayoutConcept::SecondaryDirectionProperty
static

SecondaryDirection property.

The default value is FlowLayoutConcept::DirectionTopToBottom.

See also
setSecondaryDirection(), getSecondaryDirection()

The documentation for this class was generated from the following file: