kanzi::StateManager::StateObject Class Reference

#include <kanzi/core.ui/state_manager/state_manager.hpp>

Public Member Functions

void setPath (string_view path)
 Sets target object path for this state object. More...
 
const string & getPath () const
 Returns target object path for this state object. More...
 
void setStyle (const StyleSharedPtr &style)
 Sets style for this state object. The given style is supposed to define the property values for target object when this state object is active. More...
 
StyleSharedPtr getStyle () const
 Return style of this state object. More...
 

Static Public Member Functions

static StateObjectPtr create ()
 

Member Function Documentation

static StateObjectPtr kanzi::StateManager::StateObject::create ( )
static
void kanzi::StateManager::StateObject::setPath ( string_view  path)

Sets target object path for this state object.

const string& kanzi::StateManager::StateObject::getPath ( ) const

Returns target object path for this state object.

void kanzi::StateManager::StateObject::setStyle ( const StyleSharedPtr style)

Sets style for this state object. The given style is supposed to define the property values for target object when this state object is active.

StyleSharedPtr kanzi::StateManager::StateObject::getStyle ( ) const

Return style of this state object.


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