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

#include "graphics.h"

Inheritance diagram for double_property:
base_property

Public Member Functions

 double_property ()=delete
 
 double_property (const double_property &p)
 
 double_property (const std::string &nm, const graphics_handle &h, double d=0)
 
 ~double_property ()=default
 
void add_constraint (const finite_type finite)
 
void add_constraint (const std::string &type, double val, bool inclusive)
 
base_propertyclone () const
 
double double_value () const
 
octave_value get () const
 
double_propertyoperator= (const double_property &)=delete
 
double_propertyoperator= (const octave_value &val)
 
- 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
 
virtual bool is_radio () 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)
 
virtual Cell values_as_cell () const
 
virtual std::string values_as_string () const
 

Protected Member Functions

bool do_set (const octave_value &v)
 

Detailed Description

Definition at line 1187 of file graphics.h.

Constructor & Destructor Documentation

◆ double_property() [1/3]

double_property::double_property ( )
delete

◆ double_property() [2/3]

double_property::double_property ( const std::string &  nm,
const graphics_handle h,
double  d = 0 
)
inline

Definition at line 1193 of file graphics.h.

◆ double_property() [3/3]

double_property::double_property ( const double_property p)
inline

Definition at line 1200 of file graphics.h.

◆ ~double_property()

double_property::~double_property ( )
default

Member Function Documentation

◆ add_constraint() [1/2]

void double_property::add_constraint ( const finite_type  finite)
inline

Definition at line 1240 of file graphics.h.

◆ add_constraint() [2/2]

void double_property::add_constraint ( const std::string &  type,
double  val,
bool  inclusive 
)
inline

◆ clone()

base_property* double_property::clone ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 1221 of file graphics.h.

◆ do_set()

bool double_property::do_set ( const octave_value v)
inlineprotectedvirtual

◆ double_value()

double double_property::double_value ( ) const
inline

Definition at line 1213 of file graphics.h.

Referenced by figure::properties::get___device_pixel_ratio__(), patch::properties::get_ambientstrength(), surface::properties::get_ambientstrength(), uibuttongroup::properties::get_borderwidth(), uipanel::properties::get_borderwidth(), axes::properties::get_cameraviewangle(), axes::properties::get_colororderindex(), patch::properties::get_diffusestrength(), surface::properties::get_diffusestrength(), axes::properties::get_fontsize(), text::properties::get_fontsize(), uicontrol::properties::get_fontsize(), uibuttongroup::properties::get_fontsize(), uipanel::properties::get_fontsize(), uitable::properties::get_fontsize(), axes::properties::get_gridalpha(), axes::properties::get_labelfontsizemultiplier(), axes::properties::get_linestyleorderindex(), axes::properties::get_linewidth(), line::properties::get_linewidth(), text::properties::get_linewidth(), patch::properties::get_linewidth(), scatter::properties::get_linewidth(), surface::properties::get_linewidth(), uicontrol::properties::get_listboxtop(), text::properties::get_margin(), scatter::properties::get_markeredgealpha(), scatter::properties::get_markerfacealpha(), line::properties::get_markersize(), patch::properties::get_markersize(), surface::properties::get_markersize(), uicontrol::properties::get_max(), uicontrol::properties::get_min(), axes::properties::get_minorgridalpha(), axes::properties::get_mousewheelzoom(), axes::properties::get_nextseriesindex(), root_figure::properties::get_pointerwindow(), uimenu::properties::get_position(), text::properties::get_rotation(), root_figure::properties::get_screendepth(), root_figure::properties::get_screenpixelsperinch(), patch::properties::get_specularcolorreflectance(), surface::properties::get_specularcolorreflectance(), patch::properties::get_specularexponent(), surface::properties::get_specularexponent(), patch::properties::get_specularstrength(), surface::properties::get_specularstrength(), axes::properties::get_titlefontsizemultiplier(), axes::properties::get_xticklabelrotation(), axes::properties::get_yticklabelrotation(), and axes::properties::get_zticklabelrotation().

◆ get()

octave_value double_property::get ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 1211 of file graphics.h.

References octave_value().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Definition at line 1215 of file graphics.h.


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