kanzi::ListBoxConcept::ItemSelectedMessageArguments Class Reference

Represents message arguments of ItemSelected message. More...

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

Inheritance diagram for kanzi::ListBoxConcept::ItemSelectedMessageArguments:
kanzi::MessageArguments

Public Member Functions

optional< size_t > getSelectedItemIndex () const
 
void setSelectedItemIndex (optional< size_t > value)
 
optional< size_t > getPreviouslySelectedItemIndex () const
 
void setPreviouslySelectedItemIndex (optional< size_t > value)
 
- Public Member Functions inherited from kanzi::MessageArguments
 MessageArguments ()
 
 MessageArguments (AbstractMessageType messageType)
 
 ~MessageArguments ()
 
template<typename TDataType >
TDataType getArgument (const PropertyType< TDataType > &argumentType) const
 
bool getAbstractArgument (AbstractPropertyType argumentType, Variant &variant) const
 
template<typename TDataType >
void setArgument (const PropertyType< TDataType > &argumentType, typename PropertyType< TDataType >::DataType value)
 
void setAbstractArgument (AbstractPropertyType argumentType, const Variant &variant)
 
bool isFrom (const Node &source) const
 
shared_ptr< NodegetSource () const
 
void setHandled (bool handled)
 
bool isHandled () const
 
chrono::milliseconds getTimestamp () const
 
KzuMessageDispatchergetDispatcher () const
 
AbstractMessageType getType () const
 
void setSource (Node *source)
 
void setTimestamp (chrono::milliseconds timestamp)
 
void setValid (bool valid)
 
bool isValid () const
 
void setDispatcher_internal (KzuMessageDispatcher *dispatcher)
 Internal function. More...
 
void setType_internal (AbstractMessageType type)
 Internal function. More...
 

Static Public Member Functions

static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 
- Static Public Member Functions inherited from kanzi::MessageArguments
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Static Public Attributes

Properties
static PropertyType< int > SelectedItemIndexProperty
 SelectedItemIndex property. More...
 
static PropertyType< int > PreviousSelectedItemIndexProperty
 PreviousSelectedItemIndex property. More...
 

Detailed Description

Represents message arguments of ItemSelected message.

Member Function Documentation

optional<size_t> kanzi::ListBoxConcept::ItemSelectedMessageArguments::getSelectedItemIndex ( ) const
inline
void kanzi::ListBoxConcept::ItemSelectedMessageArguments::setSelectedItemIndex ( optional< size_t >  value)
inline
optional<size_t> kanzi::ListBoxConcept::ItemSelectedMessageArguments::getPreviouslySelectedItemIndex ( ) const
inline
void kanzi::ListBoxConcept::ItemSelectedMessageArguments::setPreviouslySelectedItemIndex ( optional< size_t >  value)
inline
static PropertyTypeEditorInfoSharedPtr kanzi::ListBoxConcept::ItemSelectedMessageArguments::makeEditorInfo ( )
static

Member Data Documentation

PropertyType<int> kanzi::ListBoxConcept::ItemSelectedMessageArguments::SelectedItemIndexProperty
static

SelectedItemIndex property.

The default value is -1.

See also
setSelectedItemIndex(), getSelectedItemIndex()
PropertyType<int> kanzi::ListBoxConcept::ItemSelectedMessageArguments::PreviousSelectedItemIndexProperty
static

PreviousSelectedItemIndex property.

The default value is -1.

See also
setPreviousSelectedItemIndex(), getPreviousSelectedItemIndex()

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