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

#include "graphics.h"

Inheritance diagram for text_label_property:
base_property

Public Types

enum  type { char_t , cellstr_t }
 

Public Member Functions

 text_label_property ()=delete
 
 text_label_property (const std::string &s, const graphics_handle &h, const Cell &c)
 
 text_label_property (const std::string &s, const graphics_handle &h, const NDArray &nda)
 
 text_label_property (const std::string &s, const graphics_handle &h, const std::string &val="")
 
 text_label_property (const text_label_property &)=default
 
 ~text_label_property ()=default
 
Cell cell_value () const
 
charMatrix char_value () const
 
base_propertyclone () const
 
bool empty () const
 
octave_value get () const
 
text_label_propertyoperator= (const octave_value &val)
 
text_label_propertyoperator= (const text_label_property &)=delete
 
std::string string_value () const
 
string_vector string_vector_value () 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
 
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 &val)
 

Detailed Description

Definition at line 698 of file graphics.h.

Member Enumeration Documentation

◆ type

Enumerator
char_t 
cellstr_t 

Definition at line 701 of file graphics.h.

Constructor & Destructor Documentation

◆ text_label_property() [1/5]

text_label_property::text_label_property ( )
delete

◆ text_label_property() [2/5]

text_label_property::text_label_property ( const std::string &  s,
const graphics_handle h,
const std::string &  val = "" 
)
inline

Definition at line 705 of file graphics.h.

◆ text_label_property() [3/5]

text_label_property::text_label_property ( const std::string &  s,
const graphics_handle h,
const NDArray nda 
)
inline

Definition at line 710 of file graphics.h.

References Array< T, Alloc >::numel().

◆ text_label_property() [4/5]

text_label_property::text_label_property ( const std::string &  s,
const graphics_handle h,
const Cell c 
)
inline

Definition at line 726 of file graphics.h.

References d, octave_value::is_string(), and Array< T, Alloc >::numel().

◆ text_label_property() [5/5]

text_label_property::text_label_property ( const text_label_property )
default

◆ ~text_label_property()

text_label_property::~text_label_property ( )
default

Member Function Documentation

◆ cell_value()

Cell text_label_property::cell_value ( ) const
inline

Definition at line 781 of file graphics.h.

◆ char_value()

charMatrix text_label_property::char_value ( ) const
inline

Definition at line 779 of file graphics.h.

◆ clone()

base_property* text_label_property::clone ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 789 of file graphics.h.

◆ do_set()

bool text_label_property::do_set ( const octave_value val)
inlineprotectedvirtual

◆ empty()

bool text_label_property::empty ( ) const
inline

Definition at line 758 of file graphics.h.

References octave_value::isempty().

◆ get()

octave_value text_label_property::get ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 764 of file graphics.h.

References octave_value().

Referenced by text::properties::get_string().

◆ operator=() [1/2]

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

Definition at line 783 of file graphics.h.

◆ operator=() [2/2]

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

◆ string_value()

std::string text_label_property::string_value ( ) const
inline

Definition at line 772 of file graphics.h.

◆ string_vector_value()

string_vector text_label_property::string_vector_value ( ) const
inline

Definition at line 777 of file graphics.h.


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