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

#include "graphics.h"

Inheritance diagram for root_figure:
base_graphics_object

Classes

class  properties
 

Public Member Functions

 ~root_figure ()=default
 
octave_value get (const caseless_str &name) const
 
octave_value get_default (const caseless_str &name) const
 
octave_value get_defaults () const
 
property_list get_defaults_list () const
 
octave_value get_factory_default (const caseless_str &name) const
 
octave_value get_factory_defaults () const
 
property_list get_factory_defaults_list () const
 
base_propertiesget_properties ()
 
const base_propertiesget_properties () const
 
bool has_readonly_property (const caseless_str &pname) const
 
void mark_modified ()
 
void override_defaults (base_graphics_object &obj)
 
void reset_default_properties ()
 
void set (const caseless_str &name, const octave_value &value)
 
bool valid_object () const
 
- Public Member Functions inherited from base_graphics_object
 base_graphics_object ()
 
virtual ~base_graphics_object ()=default
 
virtual void add_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=GCB_POSTSET)
 
virtual void adopt (const graphics_handle &h)
 
void build_user_defaults_map (property_list::pval_map_type &def, const std::string go_name) const
 
virtual void defaults () const
 
virtual void delete_property_listener (const std::string &nm, const octave_value &v, listener_mode mode=GCB_POSTSET)
 
octave_value get (bool all=false) const
 
graphics_handle get_handle () const
 
virtual graphics_handle get_parent () const
 
virtual octave::graphics_toolkit get_toolkit () const
 
bool isa (const std::string &go_name) const
 
virtual void remove_all_listeners ()
 
virtual void remove_child (const graphics_handle &h, bool from_root=false)
 
virtual void reparent (const graphics_handle &np)
 
virtual void set_defaults (const std::string &)
 
virtual void set_from_list (property_list &plist)
 
virtual std::string type () const
 
virtual void update_axis_limits (const std::string &axis_type)
 
virtual void update_axis_limits (const std::string &axis_type, const graphics_handle &h)
 
bool valid_toolkit_object () const
 
virtual std::string value_as_string (const std::string &prop)
 
virtual std::string values_as_string ()
 
virtual octave_scalar_map values_as_struct ()
 

Protected Member Functions

 root_figure ()
 
- Protected Member Functions inherited from base_graphics_object
virtual void finalize (const graphics_object &go)
 
virtual void initialize (const graphics_object &go)
 
virtual void update (const graphics_object &go, int id)
 

Friends

class gh_manager
 

Additional Inherited Members

- Protected Attributes inherited from base_graphics_object
bool m_toolkit_flag
 

Detailed Description

Definition at line 3211 of file graphics.h.

Constructor & Destructor Documentation

◆ root_figure()

root_figure::root_figure ( )
inlineprotected

Definition at line 3448 of file graphics.h.

◆ ~root_figure()

root_figure::~root_figure ( )
default

Member Function Documentation

◆ get()

octave_value root_figure::get ( const caseless_str name) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3482 of file graphics.h.

References caseless_str::compare().

◆ get_default()

octave_value root_figure::get_default ( const caseless_str name) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3496 of file graphics.h.

References error(), and octave_value::is_undefined().

◆ get_defaults()

octave_value root_figure::get_defaults ( ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3522 of file graphics.h.

◆ get_defaults_list()

property_list root_figure::get_defaults_list ( ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3527 of file graphics.h.

◆ get_factory_default()

octave_value root_figure::get_factory_default ( const caseless_str name) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3512 of file graphics.h.

References error(), and octave_value::is_undefined().

◆ get_factory_defaults()

octave_value root_figure::get_factory_defaults ( ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3532 of file graphics.h.

◆ get_factory_defaults_list()

property_list root_figure::get_factory_defaults_list ( ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3537 of file graphics.h.

◆ get_properties() [1/2]

base_properties& root_figure::get_properties ( )
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3542 of file graphics.h.

◆ get_properties() [2/2]

const base_properties& root_figure::get_properties ( ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3544 of file graphics.h.

◆ has_readonly_property()

bool root_figure::has_readonly_property ( const caseless_str pname) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3550 of file graphics.h.

References base_properties::has_readonly_property().

◆ mark_modified()

void root_figure::mark_modified ( )
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3459 of file graphics.h.

◆ override_defaults()

void root_figure::override_defaults ( base_graphics_object obj)
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3461 of file graphics.h.

References base_graphics_object::set_from_list().

◆ reset_default_properties()

void root_figure::reset_default_properties ( )
virtual

Reimplemented from base_graphics_object.

Definition at line 3771 of file graphics.cc.

References base_graphics_object::remove_all_listeners().

◆ set()

void root_figure::set ( const caseless_str name,
const octave_value value 
)
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3471 of file graphics.h.

References caseless_str::compare().

◆ valid_object()

bool root_figure::valid_object ( ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3546 of file graphics.h.

Friends And Related Function Documentation

◆ gh_manager

friend class gh_manager
friend

Definition at line 3218 of file graphics.h.


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