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

#include "graphics.in.h"

Inheritance diagram for uicontextmenu:
Collaboration diagram for uicontextmenu:

Classes

class  properties
 

Public Member Functions

 uicontextmenu (const graphics_handle &mh, const graphics_handle &p)
 
 ~uicontextmenu (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
 
virtual octave_value get (const caseless_str &pname) const
 
virtual octave_value get_default (const caseless_str &) const
 
virtual octave_value get_defaults (void) const
 
virtual property_list get_defaults_list (void) const
 
virtual octave_value get_factory_default (const caseless_str &) const
 
virtual octave_value get_factory_defaults (void) const
 
virtual 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
 
virtual void mark_modified (void)
 
virtual 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)
 
virtual void reset_default_properties (void)
 
virtual void set (const caseless_str &pname, const octave_value &pval)
 
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

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
 

Private Attributes

properties xproperties
 

Detailed Description

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

Constructor & Destructor Documentation

◆ uicontextmenu()

uicontextmenu::uicontextmenu ( const graphics_handle mh,
const graphics_handle p 
)
inline

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

◆ ~uicontextmenu()

uicontextmenu::~uicontextmenu ( void  )
default

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]

virtual octave_value base_graphics_object::get ( const caseless_str pname) const
inlinevirtualinherited

Reimplemented in uitoolbar, axes, figure, and root_figure.

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

◆ get_default()

octave_value base_graphics_object::get_default ( const caseless_str pname) const
virtualinherited

◆ get_defaults()

virtual octave_value base_graphics_object::get_defaults ( void  ) const
inlinevirtualinherited

Reimplemented in uitoolbar, axes, figure, and root_figure.

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

◆ get_defaults_list()

virtual property_list base_graphics_object::get_defaults_list ( void  ) const
inlinevirtualinherited

Reimplemented in uitoolbar, axes, figure, and root_figure.

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

◆ get_factory_default()

octave_value base_graphics_object::get_factory_default ( const caseless_str name) const
virtualinherited

◆ get_factory_defaults()

virtual octave_value base_graphics_object::get_factory_defaults ( void  ) const
inlinevirtualinherited

Reimplemented in root_figure.

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

◆ get_factory_defaults_list()

virtual property_list base_graphics_object::get_factory_defaults_list ( void  ) const
inlinevirtualinherited

Reimplemented in root_figure.

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

◆ get_handle()

◆ get_parent()

◆ get_properties() [1/2]

base_properties& uicontextmenu::get_properties ( void  )
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ get_properties() [2/2]

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

Reimplemented from base_graphics_object.

Definition at line 5488 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 uicontextmenu::has_readonly_property ( const caseless_str pname) const
inlinevirtual

Reimplemented from base_graphics_object.

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

◆ 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()

virtual void base_graphics_object::mark_modified ( void  )
inlinevirtualinherited

◆ override_defaults()

virtual void base_graphics_object::override_defaults ( base_graphics_object obj)
inlinevirtualinherited

Reimplemented in uitoolbar, axes, figure, and root_figure.

Definition at line 2461 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()

virtual void base_graphics_object::set ( const caseless_str pname,
const octave_value pval 
)
inlinevirtualinherited

Reimplemented in uitoolbar, axes, figure, and root_figure.

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

Referenced by base_properties::set_from_list().

◆ 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 uicontextmenu::valid_object ( void  ) const
inlinevirtual

Reimplemented from base_graphics_object.

Definition at line 5490 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()

Member Data Documentation

◆ toolkit_flag

bool base_graphics_object::toolkit_flag
protectedinherited

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

◆ xproperties

properties uicontextmenu::xproperties
private

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


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