#include "graphics.h"
Public Member Functions | |
properties ()=delete | |
properties (const graphics_handle &mh, const graphics_handle &p) | |
~properties ()=default | |
std::set< std::string > | all_property_names () const |
bool | backgroundcolor_is (const std::string &v) const |
bool | backgroundcolor_is_rgb () const |
bool | enable_is (const std::string &v) const |
void | execute_callback (const octave_value &new_data=octave_value()) const |
void | execute_keypressfcn (const octave_value &new_data=octave_value()) const |
bool | fontangle_is (const std::string &v) const |
bool | fontunits_is (const std::string &v) const |
bool | fontweight_is (const std::string &v) const |
bool | foregroundcolor_is (const std::string &v) const |
bool | foregroundcolor_is_rgb () const |
octave_value | get (bool all=false) const |
octave_value | get (const caseless_str &pname) const |
octave_value | get (const char *pname) const |
octave_value | get (const std::string &pname) const |
std::string | get___focus__ () const |
double | get___fontsize_points__ (double box_pix_height=0) const |
octave_value | get___object__ () const |
octave_value | get_backgroundcolor () const |
Matrix | get_backgroundcolor_rgb () const |
Matrix | get_boundingbox (bool internal=false, const Matrix &parent_pix_size=Matrix()) const |
octave_value | get_callback () const |
octave_value | get_cdata () const |
std::string | get_clipping () const |
std::string | get_enable () const |
octave_value | get_extent () const |
std::string | get_fontangle () const |
std::string | get_fontname () const |
double | get_fontsize () const |
std::string | get_fontunits () const |
std::string | get_fontweight () const |
octave_value | get_foregroundcolor () const |
Matrix | get_foregroundcolor_rgb () const |
std::string | get_horizontalalignment () const |
octave_value | get_keypressfcn () const |
double | get_listboxtop () const |
double | get_max () const |
double | get_min () const |
octave_value | get_position () const |
property | get_property (const caseless_str &pname) |
octave_value | get_sliderstep () const |
octave_value | get_string () const |
std::string | get_string_string () const |
string_vector | get_string_vector () const |
std::string | get_style () const |
std::string | get_tooltipstring () const |
std::string | get_units () const |
octave_value | get_value () const |
std::string | get_verticalalignment () const |
std::string | graphics_object_name () const |
bool | has_property (const caseless_str &pname) const |
bool | horizontalalignment_is (const std::string &v) const |
bool | is___focus__ () const |
bool | is_clipping () const |
void | set (const caseless_str &pname, const octave_value &val) |
void | set___focus__ (const octave_value &val) |
void | set___object__ (const octave_value &val) |
void | set_backgroundcolor (const octave_value &val) |
void | set_callback (const octave_value &val) |
void | set_cdata (const octave_value &val) |
void | set_clipping (const octave_value &val) |
void | set_enable (const octave_value &val) |
void | set_extent (const octave_value &val) |
void | set_fontangle (const octave_value &val) |
void | set_fontname (const octave_value &val) |
void | set_fontsize (const octave_value &val) |
void | set_fontunits (const octave_value &val) |
void | set_fontweight (const octave_value &val) |
void | set_foregroundcolor (const octave_value &val) |
void | set_horizontalalignment (const octave_value &val) |
void | set_keypressfcn (const octave_value &val) |
void | set_listboxtop (const octave_value &val) |
void | set_max (const octave_value &val) |
void | set_min (const octave_value &val) |
void | set_position (const octave_value &val) |
void | set_sliderstep (const octave_value &val) |
void | set_string (const octave_value &val) |
void | set_style (const octave_value &val) |
void | set_tooltipstring (const octave_value &val) |
void | set_units (const octave_value &val) |
void | set_value (const octave_value &val) |
void | set_verticalalignment (const octave_value &val) |
bool | style_is (const std::string &v) const |
bool | units_is (const std::string &v) const |
bool | verticalalignment_is (const std::string &v) const |
Public Member Functions inherited from base_properties | |
base_properties (const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle()) | |
virtual | ~base_properties ()=default |
virtual void | add_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET) |
virtual void | adopt (const graphics_handle &h) |
std::set< std::string > | all_property_names () const |
bool | busyaction_is (const std::string &v) const |
virtual void | delete_children (bool clear=false, bool from_root=false) |
virtual void | delete_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET) |
std::set< std::string > | dynamic_property_names () const |
void | execute_buttondownfcn (const octave_value &new_data=octave_value()) const |
void | execute_createfcn (const octave_value &new_data=octave_value()) const |
void | execute_deletefcn (const octave_value &new_data=octave_value()) const |
octave_value | get___appdata__ () const |
std::string | get___modified__ () const |
graphics_handle | get___myhandle__ () const |
virtual octave_value | get_alim () const |
Matrix | get_all_children () const |
std::string | get_beingdeleted () const |
std::string | get_busyaction () const |
octave_value | get_buttondownfcn () const |
Matrix | get_children () const |
void | get_children_of_type (const caseless_str &type, bool get_invisible, bool traverse, std::list< graphics_object > &children_list) const |
virtual octave_value | get_clim () const |
std::string | get_clipping () const |
graphics_handle | get_contextmenu () const |
octave_value | get_createfcn () const |
octave_value | get_deletefcn () const |
std::string | get_handlevisibility () const |
Matrix | get_hidden_children () const |
std::string | get_hittest () const |
std::string | get_interruptible () const |
graphics_handle | get_parent () const |
std::string | get_pickableparts () const |
std::string | get_selected () const |
std::string | get_selectionhighlight () const |
std::string | get_tag () const |
virtual octave::graphics_toolkit | get_toolkit () const |
std::string | get_type () const |
graphics_handle | get_uicontextmenu () const |
octave_value | get_userdata () const |
std::string | get_visible () const |
virtual octave_value | get_xlim () const |
virtual octave_value | get_ylim () const |
virtual octave_value | get_zlim () const |
bool | handlevisibility_is (const std::string &v) const |
bool | has_dynamic_property (const std::string &pname) const |
virtual void | init_integerhandle (const octave_value &) |
void | insert_property (const std::string &name, property p) |
bool | is___modified__ () const |
virtual bool | is_aliminclude () const |
bool | is_beingdeleted () const |
virtual bool | is_climinclude () const |
bool | is_clipping () const |
bool | is_handle_visible () const |
bool | is_hittest () const |
bool | is_interruptible () const |
bool | is_modified () const |
bool | is_selected () const |
bool | is_selectionhighlight () const |
bool | is_visible () const |
virtual bool | is_xliminclude () const |
virtual bool | is_yliminclude () const |
virtual bool | is_zliminclude () const |
void | mark_modified () |
void | override_defaults (base_graphics_object &obj) |
bool | pickableparts_is (const std::string &v) const |
virtual void | remove_child (const graphics_handle &h, bool=false) |
void | renumber_child (graphics_handle old_gh, graphics_handle new_gh) |
void | renumber_parent (graphics_handle new_gh) |
void | reparent (const graphics_handle &new_parent) |
void | set___appdata__ (const octave_value &val) |
void | set___modified__ (const octave_value &val) |
void | set_beingdeleted (const octave_value &val) |
void | set_busyaction (const octave_value &val) |
void | set_buttondownfcn (const octave_value &val) |
void | set_children (const octave_value &val) |
void | set_clipping (const octave_value &val) |
void | set_contextmenu (const octave_value &val) |
void | set_createfcn (const octave_value &val) |
void | set_deletefcn (const octave_value &val) |
void | set_from_list (base_graphics_object &obj, property_list &defaults) |
void | set_handlevisibility (const octave_value &val) |
void | set_hittest (const octave_value &val) |
void | set_interruptible (const octave_value &val) |
void | set_modified (const octave_value &val) |
void | set_parent (const octave_value &val) |
void | set_pickableparts (const octave_value &val) |
void | set_selected (const octave_value &val) |
void | set_selectionhighlight (const octave_value &val) |
void | set_tag (const octave_value &val) |
void | set_uicontextmenu (const octave_value &val) |
void | set_userdata (const octave_value &val) |
void | set_visible (const octave_value &val) |
virtual void | update_autopos (const std::string &elem_type) |
virtual void | update_axis_limits (const std::string &axis_type) const |
virtual void | update_axis_limits (const std::string &axis_type, const graphics_handle &h) const |
virtual void | update_beingdeleted () |
virtual void | update_boundingbox () |
virtual void | update_contextmenu () const |
virtual void | update_handlevisibility () |
virtual void | update_visible () |
Static Public Member Functions | |
static std::set< std::string > | core_property_names () |
static property_list::pval_map_type | factory_defaults () |
static bool | has_core_property (const caseless_str &pname) |
static bool | has_readonly_property (const caseless_str &pname) |
static std::set< std::string > | readonly_property_names () |
Static Public Member Functions inherited from base_properties | |
static std::set< std::string > | core_property_names () |
static property_list::pval_map_type | factory_defaults () |
static bool | has_core_property (const caseless_str &pname) |
static bool | has_readonly_property (const caseless_str &pname) |
static std::set< std::string > | readonly_property_names () |
Protected Member Functions | |
void | init () |
void | update_fontangle () |
void | update_fontname () |
void | update_fontsize () |
void | update_fontunits (const caseless_str &old_units) |
void | update_fontweight () |
void | update_string () |
void | update_text_extent () |
void | update_units () |
Protected Member Functions inherited from base_properties | |
octave_value | get_dynamic (bool all=false) const |
octave_value | get_dynamic (const caseless_str &pname) const |
property | get_property_dynamic (const caseless_str &pname) const |
void | set_dynamic (const caseless_str &pname, const octave_value &val) |
Definition at line 12158 of file graphics.h.
anonymous enum |
Definition at line 12254 of file graphics.h.
uicontrol::properties::properties | ( | const graphics_handle & | mh, |
const graphics_handle & | p | ||
) |
Definition at line 7181 of file graphics-props.cc.
|
delete |
|
default |
std::set< std::string > uicontrol::properties::all_property_names | ( | ) | const |
Definition at line 7605 of file graphics-props.cc.
References base_properties::all_property_names().
|
inline |
Definition at line 12286 of file graphics.h.
References color_property::is().
|
inline |
Definition at line 12285 of file graphics.h.
References color_property::is_rgb().
|
static |
Definition at line 7523 of file graphics-props.cc.
References base_properties::core_property_names().
|
inline |
Definition at line 12298 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 12290 of file graphics.h.
References callback_property::execute().
|
inline |
Definition at line 12324 of file graphics.h.
References callback_property::execute().
|
static |
Definition at line 7485 of file graphics-props.cc.
References base_properties::factory_defaults(), m, and OCTAVE_DEFAULT_FONTNAME.
|
inline |
Definition at line 12303 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 12310 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 12313 of file graphics.h.
References radio_property::is().
|
inline |
Definition at line 12317 of file graphics.h.
References color_property::is().
|
inline |
Definition at line 12316 of file graphics.h.
References color_property::is_rgb().
|
virtual |
Reimplemented from base_properties.
Definition at line 7313 of file graphics-props.cc.
References base_properties::get(), m, and octave_value::map_value().
|
virtual |
Reimplemented from base_properties.
Definition at line 7351 of file graphics-props.cc.
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 12193 of file graphics.h.
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 12188 of file graphics.h.
|
inline |
Definition at line 12355 of file graphics.h.
References radio_property::current_value().
double uicontrol::properties::get___fontsize_points__ | ( | double | box_pix_height = 0 | ) | const |
Definition at line 10902 of file graphics.cc.
|
inline |
Definition at line 12357 of file graphics.h.
References any_property::get().
|
inline |
Definition at line 12288 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 12287 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
|
virtual |
Reimplemented from base_properties.
Definition at line 10850 of file graphics.cc.
References __get_gh_manager__(), Matrix::extract_n(), base_properties::get_boundingbox(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::get_properties(), Array< T, Alloc >::isempty(), and graphics_object::valid_object().
|
inline |
Definition at line 12291 of file graphics.h.
References callback_property::get().
|
inline |
Definition at line 12293 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 12296 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 12299 of file graphics.h.
References radio_property::current_value().
octave_value uicontrol::properties::get_extent | ( | ) | const |
Definition at line 10758 of file graphics.cc.
References __get_gh_manager__(), Matrix::extract_n(), base_properties::get_boundingbox(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::get_properties(), and m.
|
inline |
Definition at line 12304 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 12306 of file graphics.h.
References string_property::string_value().
|
inline |
Definition at line 12308 of file graphics.h.
References double_property::double_value().
|
inline |
Definition at line 12311 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 12314 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 12319 of file graphics.h.
References color_property::get().
|
inline |
Definition at line 12318 of file graphics.h.
References color_property::is_rgb(), and color_property::rgb().
|
inline |
Definition at line 12322 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 12325 of file graphics.h.
References callback_property::get().
|
inline |
Definition at line 12327 of file graphics.h.
References double_property::double_value().
|
inline |
Definition at line 12329 of file graphics.h.
References double_property::double_value().
|
inline |
Definition at line 12331 of file graphics.h.
References double_property::double_value().
|
inline |
Definition at line 12333 of file graphics.h.
References array_property::get().
|
virtual |
Reimplemented from base_properties.
Definition at line 7420 of file graphics-props.cc.
|
inline |
Definition at line 12335 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 12339 of file graphics.h.
References string_array_property::get().
|
inline |
Definition at line 12337 of file graphics.h.
References string_array_property::string_value().
|
inline |
Definition at line 12338 of file graphics.h.
References string_array_property::string_vector_value().
|
inline |
Definition at line 12342 of file graphics.h.
References radio_property::current_value().
Referenced by uibuttongroup::properties::set_selectedobject().
|
inline |
Definition at line 12344 of file graphics.h.
References string_property::string_value().
|
inline |
Definition at line 12347 of file graphics.h.
References radio_property::current_value().
|
inline |
Definition at line 12349 of file graphics.h.
References array_property::get().
|
inline |
Definition at line 12352 of file graphics.h.
References radio_property::current_value().
|
inlinevirtual |
Reimplemented from base_properties.
Definition at line 12200 of file graphics.h.
|
static |
Definition at line 7569 of file graphics-props.cc.
Referenced by property_list::set().
|
virtual |
Reimplemented from base_properties.
Definition at line 7617 of file graphics-props.cc.
|
static |
Definition at line 7597 of file graphics-props.cc.
|
inline |
Definition at line 12321 of file graphics.h.
References radio_property::is().
|
inlineprotectedvirtual |
Reimplemented from base_properties.
Definition at line 12575 of file graphics.h.
References array_property::add_constraint(), and double_property::add_constraint().
|
inline |
Definition at line 12354 of file graphics.h.
References bool_property::is_on().
|
inline |
Definition at line 12295 of file graphics.h.
References bool_property::is_on().
|
static |
Definition at line 7577 of file graphics-props.cc.
References base_properties::readonly_property_names().
|
virtual |
Reimplemented from base_properties.
Definition at line 7244 of file graphics-props.cc.
|
inline |
Definition at line 12554 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12562 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12360 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12368 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12376 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12384 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12392 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12400 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12408 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12417 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12426 of file graphics.h.
References base_property::set().
void uicontrol::properties::set_fontunits | ( | const octave_value & | val | ) |
Definition at line 10878 of file graphics.cc.
References base_graphics_object::mark_modified().
|
inline |
Definition at line 12437 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12446 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12454 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12462 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12470 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12478 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12486 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12494 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12502 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12510 of file graphics.h.
References base_property::set().
void uicontrol::properties::set_style | ( | const octave_value & | val | ) |
Definition at line 10803 of file graphics.cc.
References __get_gh_manager__(), gh_manager::get_object(), base_graphics_object::get_parent(), graphics_object::get_properties(), uibuttongroup::properties::get_selectedobject(), graphics_object::isa(), Array< T, Alloc >::numel(), octave_handle::ok(), uibuttongroup::properties::set_selectedobject(), graphics_object::update(), graphics_object::valid_object(), and octave_handle::value().
|
inline |
Definition at line 12521 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12529 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12538 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12546 of file graphics.h.
References base_property::set().
|
inline |
Definition at line 12341 of file graphics.h.
References radio_property::is().
Referenced by uibuttongroup::properties::adopt().
|
inline |
Definition at line 12346 of file graphics.h.
References radio_property::is().
|
inlineprotected |
Definition at line 12593 of file graphics.h.
|
inlineprotected |
Definition at line 12591 of file graphics.h.
|
inlineprotected |
Definition at line 12592 of file graphics.h.
|
protected |
Definition at line 10890 of file graphics.cc.
|
inlineprotected |
Definition at line 12597 of file graphics.h.
|
inlineprotected |
Definition at line 12590 of file graphics.h.
|
protected |
Definition at line 10773 of file graphics.cc.
References __get_gh_manager__(), gh_manager::get_object(), and graphics_object::get_toolkit().
|
protected |
Definition at line 10785 of file graphics.cc.
References __get_gh_manager__(), Matrix::extract_n(), base_properties::get_boundingbox(), gh_manager::get_object(), base_graphics_object::get_parent(), and graphics_object::get_properties().
|
inline |
Definition at line 12351 of file graphics.h.
References radio_property::is().