kanzi::ListBoxConcept::ItemMessageArguments Class Reference

Represents base class for item-related message arguments. More...

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

Inheritance diagram for kanzi::ListBoxConcept::ItemMessageArguments:
kanzi::MessageArguments kanzi::ListBoxConcept::ItemHiddenMessageArguments kanzi::ListBoxConcept::ItemVisibleMessageArguments kanzi::ListBoxConcept::TargetChangedMessageArguments

Public Member Functions

optional< size_t > getItemIndex () const
 
void setItemIndex (size_t value)
 
NodeSharedPtr getItem () const
 
void setItem (NodeSharedPtr 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 size_t getArgumentAllocatorPoolSize ()
 Gets the current size of memory pool of argument entries. More...
 
static PropertyTypeEditorInfoSharedPtr makeEditorInfo ()
 

Static Public Attributes

Properties
static PropertyType< int > ItemIndexProperty
 ItemIndex property. More...
 
static PropertyType< void * > ItemProperty
 Item property. More...
 

Detailed Description

Represents base class for item-related message arguments.

Member Function Documentation

optional<size_t> kanzi::ListBoxConcept::ItemMessageArguments::getItemIndex ( ) const
inline
void kanzi::ListBoxConcept::ItemMessageArguments::setItemIndex ( size_t  value)
inline
NodeSharedPtr kanzi::ListBoxConcept::ItemMessageArguments::getItem ( ) const
inline
void kanzi::ListBoxConcept::ItemMessageArguments::setItem ( NodeSharedPtr  value)
inline
static PropertyTypeEditorInfoSharedPtr kanzi::ListBoxConcept::ItemMessageArguments::makeEditorInfo ( )
static

Member Data Documentation

PropertyType<int> kanzi::ListBoxConcept::ItemMessageArguments::ItemIndexProperty
static

ItemIndex property.

The default value is -1.

See also
setItemIndex(), getItemIndex()
PropertyType<void*> kanzi::ListBoxConcept::ItemMessageArguments::ItemProperty
static

Item property.

The default value is KZ_NULL.

See also
setItem(), getItem()

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