Kanzi Framework  3.9.0
Kanzi Engine API
kanzi::StateManager::StateObject Class Reference

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

Public Member Functions

const string & getPath () const
 Returns target object path for this state object. More...
 
StyleSharedPtr getStyle () const
 Return style of this state object. More...
 
void setPath (string_view path)
 Sets 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...
 

Static Public Member Functions

static StateObjectPtr create ()
 

Member Function Documentation

◆ create()

static StateObjectPtr kanzi::StateManager::StateObject::create ( )
static

◆ setPath()

void kanzi::StateManager::StateObject::setPath ( string_view  path)

Sets target object path for this state object.

◆ getPath()

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

Returns target object path for this state object.

◆ setStyle()

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.

◆ getStyle()

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

Return style of this state object.


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