kanzi::Keyboard::KeyStateChangedMessageArguments Class Reference

Represents base message arguments for key state change messages. More...

#include <kanzi/core.ui/input/keyboard.hpp>

Inheritance diagram for kanzi::Keyboard::KeyStateChangedMessageArguments:
kanzi::MessageArguments kanzi::Keyboard::KeyDownMessageArguments kanzi::Keyboard::KeyUpMessageArguments

Public Member Functions

KzsInputKey getKey () const
 
void setKey (KzsInputKey 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 Attributes

Properties
static PropertyType< int > KeyProperty
 Key property. More...
 

Additional Inherited Members

- 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 ()
 

Detailed Description

Represents base message arguments for key state change messages.

Member Function Documentation

KzsInputKey kanzi::Keyboard::KeyStateChangedMessageArguments::getKey ( ) const
inline
void kanzi::Keyboard::KeyStateChangedMessageArguments::setKey ( KzsInputKey  value)
inline

Member Data Documentation

PropertyType<int> kanzi::Keyboard::KeyStateChangedMessageArguments::KeyProperty
static

Key property.

The default value is 0.

See also
setKey(), getKey()

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