GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
base_properties Class Reference

#include "graphics.in.h"

Inheritance diagram for base_properties:
Collaboration diagram for base_properties:

Public Member Functions

 base_properties (const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle())
 
virtual ~base_properties (void)=default
 
virtual void add_listener (const caseless_str &, const octave_value &, listener_mode=POSTSET)
 
virtual void adopt (const graphics_handle &h)
 
virtual void delete_children (bool clear=false)
 
virtual void delete_listener (const caseless_str &, const octave_value &, listener_mode=POSTSET)
 
std::set< std::stringdynamic_property_names (void) const
 
virtual octave_value get (const caseless_str &pname) const
 
virtual octave_value get (const std::string &pname) const
 
virtual octave_value get (const char *pname) const
 
virtual octave_value get (bool all=false) const
 
virtual octave_value get_alim (void) const
 
Matrix get_all_children (void) const
 
virtual Matrix get_boundingbox (bool=false, const Matrix &=Matrix()) const
 
Matrix get_children (void) const
 
virtual octave_value get_clim (void) const
 
Matrix get_hidden_children (void) const
 
virtual property get_property (const caseless_str &pname)
 
virtual graphics_toolkit get_toolkit (void) const
 
virtual octave_value get_xlim (void) const
 
virtual octave_value get_ylim (void) const
 
virtual octave_value get_zlim (void) const
 
virtual std::string graphics_object_name (void) const
 
bool has_dynamic_property (const std::string &pname)
 
virtual bool has_property (const caseless_str &) const
 
virtual void init_integerhandle (const octave_value &)
 
void insert_property (const std::string &name, property p)
 
virtual bool is_aliminclude (void) const
 
virtual bool is_climinclude (void) const
 
bool is_handle_visible (void) const
 
bool is_modified (void) const
 
virtual bool is_xliminclude (void) const
 
virtual bool is_yliminclude (void) const
 
virtual bool is_zliminclude (void) const
 
void mark_modified (void)
 
void override_defaults (base_graphics_object &obj)
 
virtual void remove_child (const graphics_handle &h)
 
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)
 
virtual void set (const caseless_str &, const octave_value &)
 
void set___modified__ (const octave_value &val)
 
void set_from_list (base_graphics_object &obj, property_list &defaults)
 
void set_modified (const octave_value &val)
 
void set_parent (const octave_value &val)
 
void set_tag (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_boundingbox (void)
 
virtual void update_uicontextmenu (void) const
 

Static Public Member Functions

static property_list::pval_map_type factory_defaults (void)
 

Protected Member Functions

octave_value get_dynamic (const caseless_str &pname) const
 
octave_value get_dynamic (bool all=false) const
 
property get_property_dynamic (const caseless_str &pname)
 
void set_dynamic (const caseless_str &pname, const octave_value &val)
 

Protected Attributes

BEGIN_BASE_PROPERTIES bool_property beingdeleted
 
BEGIN_BASE_PROPERTIES bool_property off radio_property busyaction
 
std::set< std::stringdynamic_properties
 

Detailed Description

Definition at line 2180 of file graphics.in.h.

Constructor & Destructor Documentation

◆ base_properties()

base_properties::base_properties ( const std::string ty = "unknown",
const graphics_handle mh = graphics_handle(),
const graphics_handle p = graphics_handle() 
)

◆ ~base_properties()

virtual base_properties::~base_properties ( void  )
virtualdefault

Member Function Documentation

◆ add_listener()

void base_properties::add_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = POSTSET 
)
virtual

Definition at line 3380 of file graphics.cc.

References mode, p, pname, and val.

◆ adopt()

virtual void base_properties::adopt ( const graphics_handle h)
inlinevirtual

Reimplemented in uimenu::properties, hggroup::properties, and figure::properties.

Definition at line 2247 of file graphics.in.h.

References h.

Referenced by figure::properties::adopt().

◆ delete_children()

virtual void base_properties::delete_children ( bool  clear = false)
inlinevirtual

Definition at line 2306 of file graphics.in.h.

Referenced by gh_manager::do_free().

◆ delete_listener()

void base_properties::delete_listener ( const caseless_str pname,
const octave_value val,
listener_mode  mode = POSTSET 
)
virtual

Definition at line 3391 of file graphics.cc.

References mode, p, pname, and val.

Referenced by do_cleanup_waitfor_listener().

◆ dynamic_property_names()

std::set< std::string > base_properties::dynamic_property_names ( void  ) const

Definition at line 3117 of file graphics.cc.

◆ factory_defaults()

◆ get() [1/4]

virtual octave_value base_properties::get ( const caseless_str pname) const
virtual

◆ get() [2/4]

virtual octave_value base_properties::get ( const std::string pname) const
inlinevirtual

Definition at line 2216 of file graphics.in.h.

References pname.

◆ get() [3/4]

virtual octave_value base_properties::get ( const char *  pname) const
inlinevirtual

Definition at line 2221 of file graphics.in.h.

References pname.

◆ get() [4/4]

virtual octave_value base_properties::get ( bool  all = false) const
virtual

◆ get_alim()

virtual octave_value base_properties::get_alim ( void  ) const
inlinevirtual

Definition at line 2328 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_all_children()

◆ get_boundingbox()

◆ get_children()

◆ get_clim()

virtual octave_value base_properties::get_clim ( void  ) const
inlinevirtual

Definition at line 2329 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ get_dynamic() [1/2]

octave_value base_properties::get_dynamic ( const caseless_str pname) const
protected

Definition at line 3092 of file graphics.cc.

References error(), and pname.

◆ get_dynamic() [2/2]

octave_value base_properties::get_dynamic ( bool  all = false) const
protected

Definition at line 3104 of file graphics.cc.

References octave_scalar_map::assign().

◆ get_hidden_children()

Matrix base_properties::get_hidden_children ( void  ) const
inline

Definition at line 2285 of file graphics.in.h.

◆ get_property()

◆ get_property_dynamic()

property base_properties::get_property_dynamic ( const caseless_str pname)
protected

Definition at line 3151 of file graphics.cc.

References error(), and pname.

◆ get_toolkit()

graphics_toolkit base_properties::get_toolkit ( void  ) const
virtual

◆ get_xlim()

virtual octave_value base_properties::get_xlim ( void  ) const
inlinevirtual

◆ get_ylim()

virtual octave_value base_properties::get_ylim ( void  ) const
inlinevirtual

◆ get_zlim()

virtual octave_value base_properties::get_zlim ( void  ) const
inlinevirtual

Definition at line 2332 of file graphics.in.h.

References octave_value().

Referenced by axes::update_axis_limits(), and hggroup::update_axis_limits().

◆ graphics_object_name()

virtual std::string base_properties::graphics_object_name ( void  ) const
inlinevirtual

◆ has_dynamic_property()

bool base_properties::has_dynamic_property ( const std::string pname)

Definition at line 3123 of file graphics.cc.

References pname.

Referenced by if().

◆ has_property()

virtual bool base_properties::has_property ( const caseless_str ) const
inlinevirtual

◆ init_integerhandle()

virtual void base_properties::init_integerhandle ( const octave_value )
inlinevirtual

Reimplemented in figure::properties.

Definition at line 2195 of file graphics.in.h.

References panic_impossible.

◆ insert_property()

void base_properties::insert_property ( const std::string name,
property  p 
)
inline

Definition at line 2205 of file graphics.in.h.

References name, and p.

◆ is_aliminclude()

virtual bool base_properties::is_aliminclude ( void  ) const
inlinevirtual

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2334 of file graphics.in.h.

◆ is_climinclude()

virtual bool base_properties::is_climinclude ( void  ) const
inlinevirtual

Reimplemented in surface::properties, patch::properties, and image::properties.

Definition at line 2335 of file graphics.in.h.

◆ is_handle_visible()

bool base_properties::is_handle_visible ( void  ) const

Definition at line 3267 of file graphics.cc.

References callback_props::empty(), and executing_callbacks.

◆ is_modified()

bool base_properties::is_modified ( void  ) const
inline

Definition at line 2236 of file graphics.in.h.

◆ is_xliminclude()

virtual bool base_properties::is_xliminclude ( void  ) const
inlinevirtual

Definition at line 2336 of file graphics.in.h.

◆ is_yliminclude()

virtual bool base_properties::is_yliminclude ( void  ) const
inlinevirtual

Definition at line 2337 of file graphics.in.h.

◆ is_zliminclude()

virtual bool base_properties::is_zliminclude ( void  ) const
inlinevirtual

Definition at line 2338 of file graphics.in.h.

◆ mark_modified()

void base_properties::mark_modified ( void  )

◆ override_defaults()

void base_properties::override_defaults ( base_graphics_object obj)

◆ remove_child()

◆ renumber_child()

void base_properties::renumber_child ( graphics_handle  old_gh,
graphics_handle  new_gh 
)
inline

Definition at line 2311 of file graphics.in.h.

◆ renumber_parent()

void base_properties::renumber_parent ( graphics_handle  new_gh)
inline

Definition at line 2316 of file graphics.in.h.

◆ reparent()

void base_properties::reparent ( const graphics_handle new_parent)
inline

Definition at line 2294 of file graphics.in.h.

◆ set()

virtual void base_properties::set ( const caseless_str ,
const octave_value  
)
virtual

◆ set___modified__()

void base_properties::set___modified__ ( const octave_value val)
inline

Definition at line 2292 of file graphics.in.h.

References val.

◆ set_dynamic()

void base_properties::set_dynamic ( const caseless_str pname,
const octave_value val 
)
protected

Definition at line 3134 of file graphics.cc.

References error(), base_graphics_object::mark_modified(), pname, and val.

◆ set_from_list()

void base_properties::set_from_list ( base_graphics_object obj,
property_list defaults 
)

◆ set_modified()

void base_properties::set_modified ( const octave_value val)
inline

Definition at line 2290 of file graphics.in.h.

References val.

◆ set_parent()

◆ set_tag()

void base_properties::set_tag ( const octave_value val)
inline

Definition at line 2271 of file graphics.in.h.

References val.

◆ update_autopos()

void base_properties::update_autopos ( const std::string elem_type)
virtual

◆ update_axis_limits() [1/2]

void base_properties::update_axis_limits ( const std::string axis_type) const
virtual

◆ update_axis_limits() [2/2]

void base_properties::update_axis_limits ( const std::string axis_type,
const graphics_handle h 
) const
virtual

Definition at line 3242 of file graphics.cc.

References gh_manager::get_object(), h, and graphics_object::update_axis_limits().

◆ update_boundingbox()

◆ update_uicontextmenu()

Member Data Documentation

◆ beingdeleted

BEGIN_BASE_PROPERTIES bool_property base_properties::beingdeleted
protected

Definition at line 2359 of file graphics.in.h.

◆ busyaction

BEGIN_BASE_PROPERTIES bool_property off radio_property base_properties::busyaction
protected

Definition at line 2359 of file graphics.in.h.

◆ dynamic_properties

std::set<std::string> base_properties::dynamic_properties
protected

Definition at line 2347 of file graphics.in.h.


The documentation for this class was generated from the following files: