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