GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "graphics.h"
Protected Member Functions | |
virtual bool | do_set (const octave_value &) |
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 > | listener_map |
typedef std::map < listener_mode, octave_value_list > ::const_iterator | listener_map_const_iterator |
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 |
typedef std::map < listener_mode, octave_value_list >::iterator | listener_map_iterator |
Private Attributes | |
octave_refcount< int > | count |
bool | hidden |
int | id |
listener_map | listeners |
std::string | name |
graphics_handle | parent |
Friends | |
class | property |
Definition at line 272 of file graphics.h.
|
private |
Definition at line 411 of file graphics.in.h.
|
private |
Definition at line 413 of file graphics.h.
|
private |
Definition at line 415 of file graphics.in.h.
|
private |
Definition at line 417 of file graphics.h.
|
private |
Definition at line 413 of file graphics.in.h.
|
private |
Definition at line 415 of file graphics.h.
|
inline |
Definition at line 278 of file graphics.h.
Referenced by clone().
|
inline |
Definition at line 282 of file graphics.h.
|
inline |
Definition at line 286 of file graphics.h.
|
inlinevirtual |
Definition at line 291 of file graphics.h.
|
inline |
Definition at line 276 of file graphics.in.h.
|
inline |
Definition at line 280 of file graphics.in.h.
|
inline |
Definition at line 284 of file graphics.in.h.
|
inlinevirtual |
Definition at line 289 of file graphics.in.h.
|
inline |
Definition at line 341 of file graphics.in.h.
References octave_value_list::length(), listeners, and octave_value_list::resize().
|
inline |
Definition at line 343 of file graphics.h.
References octave_value_list::length(), listeners, and octave_value_list::resize().
Referenced by property::add_listener().
|
inlinevirtual |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, bool_property, bool_property, row_vector_property, row_vector_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 400 of file graphics.in.h.
References base_property().
|
inlinevirtual |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, bool_property, bool_property, row_vector_property, row_vector_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 402 of file graphics.h.
References base_property().
Referenced by property::clone().
|
inline |
Definition at line 347 of file graphics.in.h.
References octave_value_list::length(), listeners, PERSISTENT, and octave_value_list::resize().
|
inline |
Definition at line 349 of file graphics.h.
References octave_value_list::length(), listeners, PERSISTENT, and octave_value_list::resize().
Referenced by property::delete_listener().
|
inlineprotectedvirtual |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, bool_property, bool_property, row_vector_property, row_vector_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 404 of file graphics.in.h.
|
inlineprotectedvirtual |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, bool_property, bool_property, row_vector_property, row_vector_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 406 of file graphics.h.
Referenced by set().
|
inlinevirtual |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 316 of file graphics.in.h.
References error(), name, and octave_value().
|
inlinevirtual |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 318 of file graphics.h.
References error(), name, and octave_value().
Referenced by property::get().
Definition at line 307 of file graphics.in.h.
References id.
|
inline |
Definition at line 293 of file graphics.in.h.
References name.
|
inline |
Definition at line 295 of file graphics.h.
References name.
Referenced by string_property::do_set(), string_array_property::do_set(), text_label_property::do_set(), 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(), double_radio_property::double_value(), property::get_name(), and string_array_property::string_array_property().
|
inline |
Definition at line 297 of file graphics.in.h.
References parent.
|
inline |
Definition at line 299 of file graphics.h.
References parent.
Referenced by callback_property::execute(), and property::get_parent().
Definition at line 301 of file graphics.in.h.
References hidden.
Reimplemented in double_radio_property, double_radio_property, color_property, color_property, radio_property, and radio_property.
Definition at line 305 of file graphics.in.h.
Reimplemented in double_radio_property, double_radio_property, color_property, color_property, radio_property, and radio_property.
Definition at line 307 of file graphics.h.
Referenced by property::is_radio().
Definition at line 291 of file graphics.in.h.
References octave_handle::ok(), and parent.
Definition at line 293 of file graphics.h.
References octave_handle::ok(), and parent.
Referenced by property::ok().
|
inline |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, bool_property, bool_property, row_vector_property, row_vector_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 335 of file graphics.in.h.
|
inline |
Reimplemented in callback_property, callback_property, children_property, children_property, any_property, any_property, handle_property, handle_property, bool_property, bool_property, row_vector_property, row_vector_property, array_property, array_property, double_radio_property, double_radio_property, double_property, double_property, color_property, color_property, radio_property, radio_property, text_label_property, text_label_property, string_array_property, string_array_property, string_property, and string_property.
Definition at line 337 of file graphics.h.
OCTINTERP_API void base_property::run_listeners | ( | listener_mode | mode = POSTSET | ) |
void base_property::run_listeners | ( | listener_mode | mode = POSTSET | ) |
Definition at line 961 of file graphics.cc.
References error_state, gh_manager::execute_listener(), octave_value_list::length(), listeners, and parent.
Referenced by property::run_listeners(), and set().
OCTINTERP_API bool base_property::set | ( | const octave_value & | v, |
bool | do_run = true , |
||
bool | do_notify_toolkit = true |
||
) |
bool base_property::set | ( | const octave_value & | v, |
bool | do_run = true , |
||
bool | do_notify_toolkit = true |
||
) |
Definition at line 936 of file graphics.cc.
References do_set(), error_state, gh_manager::get_object(), parent, POSTSET, run_listeners(), and graphics_object::update().
Referenced by property::set().
Definition at line 303 of file graphics.in.h.
References hidden.
Definition at line 305 of file graphics.h.
References hidden.
Referenced by figure::properties::properties(), axes::properties::properties(), line::properties::properties(), text::properties::properties(), image::properties::properties(), patch::properties::properties(), surface::properties::properties(), hggroup::properties::properties(), uimenu::properties::properties(), and property::set_hidden().
Definition at line 309 of file graphics.in.h.
References d.
Definition at line 311 of file graphics.h.
References d.
Referenced by base_properties::base_properties(), root_figure::properties::properties(), figure::properties::properties(), axes::properties::properties(), line::properties::properties(), text::properties::properties(), image::properties::properties(), patch::properties::properties(), surface::properties::properties(), hggroup::properties::properties(), uimenu::properties::properties(), uicontextmenu::properties::properties(), uicontrol::properties::properties(), uipanel::properties::properties(), uitoolbar::properties::properties(), uipushtool::properties::properties(), uitoggletool::properties::properties(), and property::set_id().
|
inline |
Definition at line 295 of file graphics.in.h.
References name.
|
inline |
|
inline |
Definition at line 299 of file graphics.in.h.
References parent.
|
inline |
Reimplemented in color_property, color_property, radio_property, and radio_property.
Definition at line 329 of file graphics.in.h.
Reimplemented in color_property, color_property, radio_property, and radio_property.
Definition at line 331 of file graphics.h.
Referenced by property::values_as_cell().
|
inlinevirtual |
Reimplemented in color_property, color_property, radio_property, and radio_property.
Definition at line 323 of file graphics.in.h.
|
inlinevirtual |
Reimplemented in color_property, color_property, radio_property, and radio_property.
Definition at line 325 of file graphics.h.
Referenced by property::values_as_string().
|
friend |
Definition at line 275 of file graphics.h.
|
private |
Definition at line 421 of file graphics.h.
Referenced by property::operator=(), property::property(), and property::~property().
|
private |
Definition at line 424 of file graphics.h.
Referenced by is_hidden(), and set_hidden().
|
private |
Definition at line 420 of file graphics.h.
Referenced by get_id().
|
private |
Definition at line 425 of file graphics.h.
Referenced by add_listener(), delete_listener(), and run_listeners().
|
private |
Definition at line 422 of file graphics.h.
Referenced by do_set(), get(), get_name(), set_name(), values_as_cell(), and values_as_string().
|
private |
Definition at line 423 of file graphics.h.
Referenced by get_parent(), ok(), run_listeners(), set(), and set_parent().