+ if (property_hashtable.count(property_name)) {
+ return property_hashtable[property_name];
+ } else {
+ string rv = gui_object_state().get_string (state_id(), property_name);
+ property_hashtable.erase(property_name);
+ property_hashtable.emplace(property_name, rv);
+ return rv;
+ }
+}
+
+bool
+AxisView::get_gui_property (const std::string& property_name, std::string& value) const
+{
+ std::string str = gui_property(property_name);
+
+ if (!str.empty()) {
+ value = str;
+ return true;
+ }
+
+ return false;
+}
+
+void
+AxisView::set_gui_property (const std::string& property_name, const std::string& value)
+{
+ property_hashtable.erase (property_name);
+ property_hashtable.emplace (property_name, value);
+ gui_object_state ().set_property (state_id (), property_name, value);