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

#include "graphics.h"

Inheritance diagram for bool_property:
radio_property base_property

Public Member Functions

 bool_property ()=delete
 
 bool_property (const std::string &nm, const graphics_handle &h, bool val)
 
 bool_property (const std::string &nm, const graphics_handle &h, const char *val)
 
 ~bool_property ()=default
 
base_propertyclone () const
 
bool is_on () const
 
bool_propertyoperator= (const octave_value &val)
 
- Public Member Functions inherited from radio_property
 radio_property ()=delete
 
 radio_property (const std::string &nm, const graphics_handle &h, const radio_values &v, const std::string &def)
 
 radio_property (const std::string &nm, const graphics_handle &h, const radio_values &v=radio_values())
 
 radio_property (const std::string &nm, const graphics_handle &h, const std::string &v)
 
 ~radio_property ()=default
 
const std::string & current_value () const
 
octave_value get () const
 
bool is (const caseless_str &v) const
 
bool is_radio () const
 
radio_propertyoperator= (const octave_value &val)
 
Cell values_as_cell () const
 
std::string values_as_string () const
 
- Public Member Functions inherited from base_property
 base_property ()
 
 base_property (const base_property &p)
 
 base_property (const std::string &s, const graphics_handle &h)
 
virtual ~base_property ()=default
 
void add_listener (const octave_value &v, listener_mode mode=GCB_POSTSET)
 
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=GCB_POSTSET)
 
int get_id () const
 
std::string get_name () const
 
graphics_handle get_parent () const
 
bool is_hidden () const
 
bool ok () const
 
base_propertyoperator= (const base_property &)=delete
 
base_propertyoperator= (const octave_value &val)
 
void run_listeners (listener_mode mode=GCB_POSTSET)
 
bool set (const octave_value &v, bool do_run=true, bool do_notify_toolkit=true)
 
void set_hidden (bool flag)
 
void set_id (int d)
 
void set_name (const std::string &s)
 
void set_parent (const graphics_handle &h)
 

Protected Member Functions

bool do_set (const octave_value &val)
 

Detailed Description

Definition at line 1634 of file graphics.h.

Constructor & Destructor Documentation

◆ bool_property() [1/3]

bool_property::bool_property ( )
delete

◆ bool_property() [2/3]

bool_property::bool_property ( const std::string &  nm,
const graphics_handle h,
bool  val 
)
inline

Definition at line 1640 of file graphics.h.

◆ bool_property() [3/3]

bool_property::bool_property ( const std::string &  nm,
const graphics_handle h,
const char *  val 
)
inline

Definition at line 1645 of file graphics.h.

◆ ~bool_property()

bool_property::~bool_property ( )
default

Member Function Documentation

◆ clone()

base_property* bool_property::clone ( ) const
inlinevirtual

Reimplemented from radio_property.

Definition at line 1664 of file graphics.h.

◆ do_set()

bool bool_property::do_set ( const octave_value val)
inlineprotectedvirtual

Reimplemented from radio_property.

Definition at line 1667 of file graphics.h.

References octave_value::bool_value(), radio_property::do_set(), and octave_value::is_bool_scalar().

◆ is_on()

bool bool_property::is_on ( ) const
inline

Definition at line 1656 of file graphics.h.

Referenced by uicontrol::properties::is___focus__(), figure::properties::is___gl_window__(), base_properties::is___modified__(), figure::properties::is___printing__(), patch::properties::is_aliminclude(), scatter::properties::is_aliminclude(), surface::properties::is_aliminclude(), hggroup::properties::is_aliminclude(), base_properties::is_beingdeleted(), axes::properties::is_box(), uimenu::properties::is_checked(), patch::properties::is_climinclude(), scatter::properties::is_climinclude(), surface::properties::is_climinclude(), hggroup::properties::is_climinclude(), base_properties::is_clipping(), uicontrol::properties::is_clipping(), uibuttongroup::properties::is_clipping(), figure::properties::is_dockcontrols(), text::properties::is_editing(), uimenu::properties::is_enable(), uitable::properties::is_enable(), uipushtool::properties::is_enable(), uitoggletool::properties::is_enable(), axes::properties::is_fontsmoothing(), text::properties::is_fontsmoothing(), figure::properties::is_graphicssmoothing(), base_properties::is_hittest(), figure::properties::is_integerhandle(), base_properties::is_interruptible(), figure::properties::is_inverthardcopy(), figure::properties::is_numbertitle(), uitable::properties::is_rearrangeablecolumns(), figure::properties::is_resize(), uitable::properties::is_rowstriping(), base_properties::is_selected(), base_properties::is_selectionhighlight(), uimenu::properties::is_separator(), uipushtool::properties::is_separator(), uitoggletool::properties::is_separator(), root_figure::properties::is_showhiddenhandles(), uitoggletool::properties::is_state(), base_properties::is_visible(), axes::properties::is_xgrid(), line::properties::is_xliminclude(), text::properties::is_xliminclude(), image::properties::is_xliminclude(), patch::properties::is_xliminclude(), scatter::properties::is_xliminclude(), surface::properties::is_xliminclude(), hggroup::properties::is_xliminclude(), axes::properties::is_xminorgrid(), axes::properties::is_xminortick(), axes::properties::is_ygrid(), line::properties::is_yliminclude(), text::properties::is_yliminclude(), image::properties::is_yliminclude(), patch::properties::is_yliminclude(), scatter::properties::is_yliminclude(), surface::properties::is_yliminclude(), hggroup::properties::is_yliminclude(), axes::properties::is_yminorgrid(), axes::properties::is_yminortick(), axes::properties::is_zgrid(), line::properties::is_zliminclude(), text::properties::is_zliminclude(), patch::properties::is_zliminclude(), scatter::properties::is_zliminclude(), surface::properties::is_zliminclude(), hggroup::properties::is_zliminclude(), axes::properties::is_zminorgrid(), and axes::properties::is_zminortick().

◆ operator=()

bool_property& bool_property::operator= ( const octave_value val)
inline

Definition at line 1658 of file graphics.h.


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