#include "graphics.in.h"
Public Member Functions | |
color_property (const color_property &p) | |
color_property (const color_values &c, const radio_values &v) | |
color_property (const radio_values &v, const color_values &c) | |
color_property (const std::string &nm, const graphics_handle &h, const color_property &v) | |
color_property (const std::string &nm, const graphics_handle &h, const color_values &c=color_values(), const radio_values &v=radio_values()) | |
color_property (const std::string &nm, const graphics_handle &h, const radio_values &v) | |
color_property (const std::string &nm, const graphics_handle &h, const std::string &v) | |
void | add_listener (const octave_value &v, listener_mode mode=GCB_POSTSET) |
base_property * | clone (void) const |
const std::string & | current_value (void) const |
void | delete_listener (const octave_value &v=octave_value(), listener_mode mode=GCB_POSTSET) |
octave_value | get (void) const |
int | get_id (void) const |
std::string | get_name (void) const |
graphics_handle | get_parent (void) const |
bool | is (const std::string &v) const |
bool | is_hidden (void) const |
bool | is_radio (void) const |
bool | is_rgb (void) const |
bool | ok (void) const |
operator octave_value (void) const | |
color_property & | operator= (const octave_value &val) |
Matrix | rgb (void) const |
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) |
Cell | values_as_cell (void) const |
std::string | values_as_string (void) const |
Protected Member Functions | |
OCTINTERP_API bool | do_set (const octave_value &newval) |
Private Types | |
enum | current_enum { color_t , radio_t } |
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 | |
color_values | color_val |
octave::refcount< octave_idx_type > | count |
enum color_property::current_enum | current_type |
std::string | current_val |
bool | hidden |
int | id |
listener_map | listeners |
std::string | name |
graphics_handle | parent |
radio_values | radio_val |
Definition at line 1061 of file graphics.in.h.
|
privateinherited |
Definition at line 416 of file graphics.in.h.
|
privateinherited |
Definition at line 420 of file graphics.in.h.
|
privateinherited |
Definition at line 418 of file graphics.in.h.
|
private |
Enumerator | |
---|---|
color_t | |
radio_t |
Definition at line 1160 of file graphics.in.h.
|
inline |
Definition at line 1064 of file graphics.in.h.
Referenced by clone().
|
inline |
Definition at line 1070 of file graphics.in.h.
|
inline |
Definition at line 1076 of file graphics.in.h.
|
inline |
Definition at line 1084 of file graphics.in.h.
|
inline |
Definition at line 1091 of file graphics.in.h.
|
inline |
Definition at line 1098 of file graphics.in.h.
|
inline |
Definition at line 1105 of file graphics.in.h.
|
inlineinherited |
Definition at line 347 of file graphics.in.h.
References octave_value_list::length(), base_property::listeners, and octave_value_list::resize().
Referenced by property::add_listener().
|
inlinevirtual |
Reimplemented from base_property.
Definition at line 1149 of file graphics.in.h.
References color_property().
|
inline |
Definition at line 1133 of file graphics.in.h.
References current_type, current_val, error(), and radio_t.
|
inlineinherited |
Definition at line 353 of file graphics.in.h.
References GCB_PERSISTENT, octave_value_list::length(), base_property::listeners, and octave_value_list::resize().
Referenced by property::delete_listener().
|
protectedvirtual |
Reimplemented from base_property.
Definition at line 1412 of file graphics.cc.
References color_t, color_val, radio_values::contains(), current_type, current_val, error(), base_property::get_name(), octave_value::is_string(), octave_value::isnumeric(), m, octave_value::matrix_value(), radio_t, radio_val, octave_value::string_value(), and warning_with_id().
|
inlinevirtual |
Reimplemented from base_property.
Definition at line 1110 of file graphics.in.h.
References color_t, color_val, current_type, current_val, and color_values::rgb().
Referenced by operator octave_value().
|
inlineinherited |
Definition at line 317 of file graphics.in.h.
References base_property::id.
Referenced by property::get_id().
|
inlineinherited |
Definition at line 303 of file graphics.in.h.
References base_property::name.
Referenced by string_array_property::string_array_property(), double_radio_property::current_value(), radio_property::do_set(), 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().
|
inlineinherited |
Definition at line 307 of file graphics.in.h.
References base_property::parent.
Referenced by callback_property::execute(), and property::get_parent().
|
inline |
Definition at line 1122 of file graphics.in.h.
References current_val, and is_radio().
|
inlineinherited |
Definition at line 311 of file graphics.in.h.
References base_property::hidden.
Referenced by property::is_hidden().
|
inlinevirtual |
Reimplemented from base_property.
Definition at line 1120 of file graphics.in.h.
References current_type, and radio_t.
Referenced by is().
|
inline |
Definition at line 1118 of file graphics.in.h.
References color_t, and current_type.
|
inlineinherited |
Definition at line 301 of file graphics.in.h.
References octave_handle::ok(), and base_property::parent.
Referenced by property::ok().
|
inline |
Definition at line 1147 of file graphics.in.h.
References get().
|
inline |
Definition at line 1141 of file graphics.in.h.
References base_property::set().
|
inline |
Definition at line 1125 of file graphics.in.h.
References color_t, color_val, current_type, error(), and color_values::rgb().
|
inherited |
Definition at line 1283 of file graphics.cc.
References octave::__get_gh_manager__(), gh_manager::execute_listener(), octave_value_list::length(), base_property::listeners, and base_property::parent.
Referenced by property::run_listeners(), and base_property::set().
|
inherited |
Definition at line 1257 of file graphics.cc.
References octave::__get_gh_manager__(), base_property::do_set(), GCB_POSTSET, gh_manager::get_object(), base_property::parent, base_property::run_listeners(), and graphics_object::update().
Referenced by base_property::operator=(), string_property::operator=(), string_array_property::operator=(), text_label_property::operator=(), radio_property::operator=(), 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().
|
inlineinherited |
Definition at line 313 of file graphics.in.h.
References base_property::hidden.
Referenced by property::set_hidden().
|
inlineinherited |
|
inlineinherited |
Definition at line 305 of file graphics.in.h.
References base_property::name.
Referenced by property::set_name().
|
inlineinherited |
Definition at line 309 of file graphics.in.h.
References base_property::parent.
Referenced by property::set_parent().
|
inlinevirtual |
Reimplemented from base_property.
Definition at line 1154 of file graphics.in.h.
References radio_val, and radio_values::values_as_cell().
|
inlinevirtual |
Reimplemented from base_property.
Definition at line 1151 of file graphics.in.h.
References radio_val, and radio_values::values_as_string().
|
private |
Definition at line 1161 of file graphics.in.h.
|
privateinherited |
Definition at line 424 of file graphics.in.h.
Referenced by property::property(), property::~property(), and property::operator=().
|
private |
Referenced by current_value(), do_set(), get(), is_radio(), is_rgb(), and rgb().
|
private |
Definition at line 1163 of file graphics.in.h.
Referenced by current_value(), do_set(), get(), and is().
|
privateinherited |
Definition at line 427 of file graphics.in.h.
Referenced by base_property::is_hidden(), and base_property::set_hidden().
|
privateinherited |
Definition at line 423 of file graphics.in.h.
Referenced by base_property::get_id().
|
privateinherited |
Definition at line 428 of file graphics.in.h.
Referenced by base_property::add_listener(), base_property::delete_listener(), and base_property::run_listeners().
|
privateinherited |
Definition at line 425 of file graphics.in.h.
Referenced by base_property::do_set(), base_property::get(), base_property::get_name(), base_property::set_name(), base_property::values_as_cell(), and base_property::values_as_string().
|
privateinherited |
Definition at line 426 of file graphics.in.h.
Referenced by base_property::get_parent(), base_property::ok(), base_property::run_listeners(), base_property::set(), and base_property::set_parent().
|
private |
Definition at line 1162 of file graphics.in.h.
Referenced by do_set(), values_as_cell(), and values_as_string().