#include "graphics.in.h"
Public Member Functions | |
base_property (const base_property &p) | |
base_property (const std::string &s, const graphics_handle &h) | |
base_property (void) | |
virtual | ~base_property (void)=default |
void | add_listener (const octave_value &v, listener_mode mode=GCB_POSTSET) |
virtual base_property * | clone (void) const |
void | delete_listener (const octave_value &v=octave_value(), listener_mode mode=GCB_POSTSET) |
virtual octave_value | get (void) const |
int | get_id (void) const |
std::string | get_name (void) const |
graphics_handle | get_parent (void) const |
bool | is_hidden (void) const |
virtual bool | is_radio (void) const |
bool | ok (void) const |
base_property & | operator= (const octave_value &val) |
OCTINTERP_API void | run_listeners (listener_mode mode=GCB_POSTSET) |
OCTINTERP_API bool | set (const octave_value &v, bool do_run=true, bool do_notify_toolkit=true) |
void | set_hidden (bool flag) |
void | set_id (int d) |
void | set_name (const std::string &s) |
void | set_parent (const graphics_handle &h) |
virtual Cell | values_as_cell (void) const |
virtual std::string | values_as_string (void) const |
Protected Member Functions | |
virtual bool | do_set (const octave_value &) |
Private Types | |
typedef std::map< listener_mode, octave_value_list > | listener_map |
typedef std::map< listener_mode, octave_value_list >::const_iterator | listener_map_const_iterator |
typedef std::map< listener_mode, octave_value_list >::iterator | listener_map_iterator |
Private Attributes | |
octave::refcount< octave_idx_type > | count |
bool | hidden |
int | id |
listener_map | listeners |
std::string | name |
graphics_handle | parent |
Friends | |
class | property |
Definition at line 280 of file graphics.in.h.
|
private |
Definition at line 416 of file graphics.in.h.
|
private |
Definition at line 420 of file graphics.in.h.
|
private |
Definition at line 418 of file graphics.in.h.
|
inline |
Definition at line 286 of file graphics.in.h.
Referenced by clone().
|
inline |
Definition at line 290 of file graphics.in.h.
|
inline |
Definition at line 294 of file graphics.in.h.
|
virtualdefault |
|
inline |
Definition at line 347 of file graphics.in.h.
References octave_value_list::length(), listeners, and octave_value_list::resize().
Referenced by property::add_listener().
|
inlinevirtual |
Reimplemented in callback_property, children_property, any_property, handle_property, bool_property, row_vector_property, array_property, double_radio_property, double_property, color_property, radio_property, text_label_property, string_array_property, and string_property.
Definition at line 406 of file graphics.in.h.
References base_property().
Referenced by property::clone().
|
inline |
Definition at line 353 of file graphics.in.h.
References GCB_PERSISTENT, octave_value_list::length(), listeners, and octave_value_list::resize().
Referenced by property::delete_listener().
|
inlineprotectedvirtual |
Reimplemented in children_property, bool_property, text_label_property, string_array_property, string_property, callback_property, any_property, handle_property, row_vector_property, array_property, double_radio_property, double_property, color_property, and radio_property.
Definition at line 410 of file graphics.in.h.
Referenced by set().
|
inlinevirtual |
Reimplemented in callback_property, children_property, any_property, handle_property, array_property, double_radio_property, double_property, color_property, radio_property, text_label_property, string_array_property, and string_property.
Definition at line 326 of file graphics.in.h.
Referenced by property::get().
|
inline |
|
inline |
Definition at line 303 of file graphics.in.h.
References name.
Referenced by string_array_property::string_array_property(), double_radio_property::current_value(), radio_property::do_set(), color_property::do_set(), double_property::do_set(), double_radio_property::do_set(), array_property::do_set(), handle_property::do_set(), callback_property::do_set(), string_property::do_set(), string_array_property::do_set(), text_label_property::do_set(), double_radio_property::double_value(), property::get_name(), and array_property::validate().
|
inline |
Definition at line 307 of file graphics.in.h.
References parent.
Referenced by callback_property::execute(), and property::get_parent().
|
inline |
Definition at line 311 of file graphics.in.h.
References hidden.
Referenced by property::is_hidden().
|
inlinevirtual |
Reimplemented in double_radio_property, color_property, and radio_property.
Definition at line 315 of file graphics.in.h.
Referenced by property::is_radio().
|
inline |
Definition at line 301 of file graphics.in.h.
References octave_handle::ok(), and parent.
Referenced by property::ok().
|
inline |
Definition at line 341 of file graphics.in.h.
References set().
void base_property::run_listeners | ( | listener_mode | mode = GCB_POSTSET | ) |
Definition at line 1283 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::execute_listener(), octave_value_list::length(), listeners, and parent.
Referenced by property::run_listeners(), and set().
bool base_property::set | ( | const octave_value & | v, |
bool | do_run = true , |
||
bool | do_notify_toolkit = true |
||
) |
Definition at line 1257 of file graphics.cc.
References octave::__get_gh_manager__(), do_set(), GCB_POSTSET, gh_manager::get_object(), parent, run_listeners(), and graphics_object::update().
Referenced by operator=(), string_property::operator=(), string_array_property::operator=(), text_label_property::operator=(), radio_property::operator=(), color_property::operator=(), double_property::operator=(), double_radio_property::operator=(), array_property::operator=(), row_vector_property::operator=(), bool_property::operator=(), handle_property::operator=(), any_property::operator=(), children_property::operator=(), callback_property::operator=(), and property::set().
|
inline |
Definition at line 313 of file graphics.in.h.
References hidden.
Referenced by property::set_hidden().
|
inline |
|
inline |
|
inline |
Definition at line 309 of file graphics.in.h.
References parent.
Referenced by property::set_parent().
|
inlinevirtual |
Reimplemented in color_property, and radio_property.
Definition at line 336 of file graphics.in.h.
Referenced by property::values_as_cell().
|
inlinevirtual |
Reimplemented in color_property, and radio_property.
Definition at line 331 of file graphics.in.h.
Referenced by property::values_as_string().
|
friend |
Definition at line 283 of file graphics.in.h.
|
private |
Definition at line 424 of file graphics.in.h.
Referenced by property::property(), property::~property(), and property::operator=().
|
private |
Definition at line 427 of file graphics.in.h.
Referenced by is_hidden(), and set_hidden().
|
private |
Definition at line 423 of file graphics.in.h.
Referenced by get_id().
|
private |
Definition at line 428 of file graphics.in.h.
Referenced by add_listener(), delete_listener(), and run_listeners().
|
private |
Definition at line 425 of file graphics.in.h.
Referenced by do_set(), get(), get_name(), set_name(), values_as_cell(), and values_as_string().
|
private |
Definition at line 426 of file graphics.in.h.
Referenced by get_parent(), ok(), run_listeners(), set(), and set_parent().