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

#include "graphics.in.h"

Inheritance diagram for root_figure:
Collaboration diagram for root_figure:

Classes

class  properties
 

Public Member Functions

 root_figure (const root_figure &)=delete
 
 ~root_figure (void)=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 (void) 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
 
octave_value get (const caseless_str &name) const
 
octave_value get_default (const caseless_str &name) const
 
octave_value get_defaults (void) const
 
property_list get_defaults_list (void) const
 
octave_value get_factory_default (const caseless_str &name) const
 
octave_value get_factory_defaults (void) const
 
property_list get_factory_defaults_list (void) const
 
graphics_handle get_handle (void) const
 
virtual graphics_handle get_parent (void) const
 
base_propertiesget_properties (void)
 
const base_propertiesget_properties (void) const
 
virtual octave::graphics_toolkit get_toolkit (void) const
 
bool has_readonly_property (const caseless_str &pname) const
 
bool isa (const std::string &go_name) const
 
void mark_modified (void)
 
root_figureoperator= (const root_figure &)=delete
 
void override_defaults (base_graphics_object &obj)
 
virtual void remove_all_listeners (void)
 
virtual void remove_child (const graphics_handle &h, bool from_root=false)
 
virtual void reparent (const graphics_handle &np)
 
void reset_default_properties (void)
 
void set (const caseless_str &name, const octave_value &value)
 
virtual void set_defaults (const std::string &)
 
virtual void set_from_list (property_list &plist)
 
virtual std::string type (void) 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_object (void) const
 
bool valid_toolkit_object (void) const
 
virtual std::string value_as_string (const std::string &prop)
 
virtual std::string values_as_string (void)
 
virtual octave_scalar_map values_as_struct (void)
 

Protected Member Functions

 root_figure (void)
 
virtual void finalize (const graphics_object &go)
 
virtual void initialize (const graphics_object &go)
 
virtual void update (const graphics_object &go, int id)
 

Protected Attributes

bool toolkit_flag
 

Static Private Member Functions

static property_list::plist_map_type init_factory_properties (void)
 

Private Attributes

property_list default_properties
 
property_list factory_properties
 
properties xproperties
 

Friends

class gh_manager
 

Detailed Description

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

Constructor & Destructor Documentation

◆ root_figure() [1/2]

root_figure::root_figure ( void  )
inlineprotected

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

◆ ~root_figure()

root_figure::~root_figure ( void  )
default

◆ root_figure() [2/2]

root_figure::root_figure ( const root_figure )
delete

Member Function Documentation

◆ add_property_listener()

virtual void base_graphics_object::add_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = GCB_POSTSET 
)
inlinevirtualinherited

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

◆ adopt()

virtual void base_graphics_object::adopt ( const graphics_handle h)
inlinevirtualinherited

◆ build_user_defaults_map()

void base_graphics_object::build_user_defaults_map ( property_list::pval_map_type def,
const std::string  go_name 
) const
inherited

◆ defaults()

virtual void base_graphics_object::defaults ( void  ) const
inlinevirtualinherited

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

Referenced by base_properties::set_from_list().

◆ delete_property_listener()

virtual void base_graphics_object::delete_property_listener ( const std::string &  nm,
const octave_value v,
listener_mode  mode = GCB_POSTSET 
)
inlinevirtualinherited

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

◆ finalize()

virtual void base_graphics_object::finalize ( const graphics_object go)
inlineprotectedvirtualinherited

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

◆ get() [1/2]

octave_value base_graphics_object::get ( bool  all = false) const
inlineinherited

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

Referenced by base_properties::update_uicontextmenu().

◆ get() [2/2]

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

Reimplemented from base_graphics_object.

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

◆ get_default()

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

Reimplemented from base_graphics_object.

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

◆ get_defaults()

octave_value root_figure::get_defaults ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ get_defaults_list()

property_list root_figure::get_defaults_list ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 3055 of file graphics.in.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 3040 of file graphics.in.h.

◆ get_factory_defaults()

octave_value root_figure::get_factory_defaults ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ get_factory_defaults_list()

property_list root_figure::get_factory_defaults_list ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ get_handle()

◆ get_parent()

◆ get_properties() [1/2]

base_properties& root_figure::get_properties ( void  )
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ get_properties() [2/2]

const base_properties& root_figure::get_properties ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ get_toolkit()

virtual octave::graphics_toolkit base_graphics_object::get_toolkit ( void  ) const
inlinevirtualinherited

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

◆ has_readonly_property()

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

Reimplemented from base_graphics_object.

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

◆ init_factory_properties()

property_list::plist_map_type root_figure::init_factory_properties ( void  )
staticprivate

Definition at line 12426 of file graphics.cc.

References base_properties::factory_defaults().

◆ initialize()

virtual void base_graphics_object::initialize ( const graphics_object go)
inlineprotectedvirtualinherited

Reimplemented in patch, light, and axes.

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

Referenced by axes::initialize(), light::initialize(), and patch::initialize().

◆ isa()

bool base_graphics_object::isa ( const std::string &  go_name) const
inlineinherited

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

Referenced by graphics_object::get_ancestor().

◆ mark_modified()

void root_figure::mark_modified ( void  )
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ operator=()

root_figure& root_figure::operator= ( const root_figure )
delete

◆ override_defaults()

void root_figure::override_defaults ( base_graphics_object obj)
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ remove_all_listeners()

◆ remove_child()

virtual void base_graphics_object::remove_child ( const graphics_handle h,
bool  from_root = false 
)
inlinevirtualinherited

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

◆ reparent()

virtual void base_graphics_object::reparent ( const graphics_handle np)
inlinevirtualinherited

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

Referenced by axes::properties::set_text_child().

◆ reset_default_properties()

◆ set()

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

Reimplemented from base_graphics_object.

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

◆ set_defaults()

virtual void base_graphics_object::set_defaults ( const std::string &  )
inlinevirtualinherited

Reimplemented in axes.

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

Referenced by axes::reset_default_properties().

◆ set_from_list()

virtual void base_graphics_object::set_from_list ( property_list plist)
inlinevirtualinherited

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

◆ type()

virtual std::string base_graphics_object::type ( void  ) const
inlinevirtualinherited

◆ update()

virtual void base_graphics_object::update ( const graphics_object go,
int  id 
)
inlineprotectedvirtualinherited

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

◆ update_axis_limits() [1/2]

void base_graphics_object::update_axis_limits ( const std::string &  axis_type)
virtualinherited

◆ update_axis_limits() [2/2]

void base_graphics_object::update_axis_limits ( const std::string &  axis_type,
const graphics_handle h 
)
virtualinherited

◆ valid_object()

bool root_figure::valid_object ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ valid_toolkit_object()

bool base_graphics_object::valid_toolkit_object ( void  ) const
inlineinherited

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

◆ value_as_string()

std::string base_graphics_object::value_as_string ( const std::string &  prop)
virtualinherited

◆ values_as_string()

◆ values_as_struct()

Friends And Related Function Documentation

◆ gh_manager

friend class gh_manager
friend

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

Member Data Documentation

◆ default_properties

property_list root_figure::default_properties
private

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

◆ factory_properties

property_list root_figure::factory_properties
private

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

◆ toolkit_flag

bool base_graphics_object::toolkit_flag
protectedinherited

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

◆ xproperties

properties root_figure::xproperties
private

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


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