kanzi::ToggleButtonGroupConcept Class Reference

ToggleButtonGroup contains properties that are common to both ToggleButtonGroup2D and ToggleButtonGroup3D. More...

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

Inheritance diagram for kanzi::ToggleButtonGroupConcept:
kanzi::ToggleButtonGroupConceptImpl< TBaseClass, TDerivedClass > kanzi::ToggleButtonGroupConceptImpl< Node2D, ToggleButtonGroup2D > kanzi::ToggleButtonGroupConceptImpl< Node3D, ToggleButtonGroup3D > kanzi::ToggleButtonGroup2D kanzi::ToggleButtonGroup3D

Classes

class  ToggleButtonGroupConceptMessageArguments
 
class  ToggledMessageArguments
 

Public Member Functions

template<typename TDerivedClass >
 ToggleButtonGroupConcept (TDerivedClass *derivedClass)
 
NodegetDerivedObject () const
 
void unregisterButton (const Node *button)
 
void onButtonGroupToggled (ToggledMessageArguments &message)
 
int getCurrentButtonIndex () const
 Gets the value of #ToggledButtonIndexProperty. More...
 

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Public Attributes

unsigned int m_nextFreeId
 

Static Public Attributes

static PropertyType< int > CurrentButtonIndexProperty
 CurrentButtonIndex property. More...
 
static MessageType< ToggledMessageArgumentsToggledMessage
 

Detailed Description

ToggleButtonGroup contains properties that are common to both ToggleButtonGroup2D and ToggleButtonGroup3D.

Constructor & Destructor Documentation

template<typename TDerivedClass >
kanzi::ToggleButtonGroupConcept::ToggleButtonGroupConcept ( TDerivedClass *  derivedClass)
inline

Member Function Documentation

Node* kanzi::ToggleButtonGroupConcept::getDerivedObject ( ) const
inline
void kanzi::ToggleButtonGroupConcept::unregisterButton ( const Node button)
void kanzi::ToggleButtonGroupConcept::onButtonGroupToggled ( ToggledMessageArguments message)
int kanzi::ToggleButtonGroupConcept::getCurrentButtonIndex ( ) const
inline

Gets the value of #ToggledButtonIndexProperty.

See also
setToggledButtonIndex()
static PropertyTypeEditorInfoSharedPtr kanzi::ToggleButtonGroupConcept::makeEditorInfo ( )
static

Member Data Documentation

unsigned int kanzi::ToggleButtonGroupConcept::m_nextFreeId
PropertyType<int> kanzi::ToggleButtonGroupConcept::CurrentButtonIndexProperty
static

CurrentButtonIndex property.

The default value is -1.

See also
setCurrentButtonIndex(), getCurrentButtonIndex()
MessageType<ToggledMessageArguments> kanzi::ToggleButtonGroupConcept::ToggledMessage
static

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