GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
text_label_property Class Reference

#include "graphics.h"

Inheritance diagram for text_label_property:
Inheritance graph
[legend]
Collaboration diagram for text_label_property:
Collaboration graph
[legend]

Public Types

enum  type { char_t, cellstr_t, char_t, cellstr_t }
enum  type { char_t, cellstr_t, char_t, cellstr_t }

Public Member Functions

 text_label_property (const std::string &s, const graphics_handle &h, const std::string &val="")
 text_label_property (const std::string &s, const graphics_handle &h, const std::string &val="")
 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 NDArray &nda)
 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 Cell &c)
 text_label_property (const text_label_property &p)
 text_label_property (const text_label_property &p)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
void add_listener (const octave_value &v, listener_mode mode=POSTSET)
Cell cell_value (void) const
Cell cell_value (void) const
charMatrix char_value (void) const
charMatrix char_value (void) const
base_propertyclone (void) const
base_propertyclone (void) const
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=POSTSET)
void delete_listener (const octave_value &v=octave_value(), listener_mode mode=POSTSET)
bool empty (void) const
bool empty (void) const
octave_value get (void) const
octave_value get (void) const
int get_id (void) const
int get_id (void) const
std::string get_name (void) const
std::string get_name (void) const
graphics_handle get_parent (void) const
graphics_handle get_parent (void) const
bool is_hidden (void) const
bool is_hidden (void) const
virtual bool is_radio (void) const
virtual bool is_radio (void) const
bool ok (void) const
bool ok (void) const
text_label_propertyoperator= (const octave_value &val)
text_label_propertyoperator= (const octave_value &val)
OCTINTERP_API void run_listeners (listener_mode mode=POSTSET)
OCTINTERP_API void run_listeners (listener_mode mode=POSTSET)
OCTINTERP_API bool set (const octave_value &v, bool do_run=true, bool do_notify_toolkit=true)
OCTINTERP_API bool set (const octave_value &v, bool do_run=true, bool do_notify_toolkit=true)
void set_hidden (bool flag)
void set_hidden (bool flag)
void set_id (int d)
void set_id (int d)
void set_name (const std::string &s)
void set_name (const std::string &s)
void set_parent (const graphics_handle &h)
void set_parent (const graphics_handle &h)
std::string string_value (void) const
std::string string_value (void) const
string_vector string_vector_value (void) const
string_vector string_vector_value (void) const
virtual Cell values_as_cell (void) const
virtual Cell values_as_cell (void) const
virtual std::string values_as_string (void) const
virtual std::string values_as_string (void) const

Protected Member Functions

bool do_set (const octave_value &val)
bool do_set (const octave_value &val)

Private Attributes

type stored_type
string_vector value

Detailed Description

Definition at line 679 of file graphics.h.

Member Enumeration Documentation

Enumerator:
char_t 
cellstr_t 
char_t 
cellstr_t 

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

Enumerator:
char_t 
cellstr_t 
char_t 
cellstr_t 

Definition at line 682 of file graphics.h.

Constructor & Destructor Documentation

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

Definition at line 684 of file graphics.h.

Referenced by clone().

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

Definition at line 689 of file graphics.h.

References Array< T >::numel(), string_vector::resize(), and value.

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

Definition at line 735 of file graphics.h.

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

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

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

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

References Array< T >::numel(), string_vector::resize(), and value.

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

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

Member Function Documentation

void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
)
inlineinherited
void base_property::add_listener ( const octave_value v,
listener_mode  mode = POSTSET 
)
inlineinherited
Cell text_label_property::cell_value ( void  ) const
inline

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

References value.

Cell text_label_property::cell_value ( void  ) const
inline

Definition at line 762 of file graphics.h.

References value.

Referenced by get().

charMatrix text_label_property::char_value ( void  ) const
inline

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

References value.

charMatrix text_label_property::char_value ( void  ) const
inline

Definition at line 760 of file graphics.h.

References value.

Referenced by get().

base_property* text_label_property::clone ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References text_label_property().

base_property* text_label_property::clone ( void  ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 770 of file graphics.h.

References text_label_property().

void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
)
inlineinherited
void base_property::delete_listener ( const octave_value v = octave_value (),
listener_mode  mode = POSTSET 
)
inlineinherited
bool text_label_property::do_set ( const octave_value val)
inlineprotectedvirtual
bool text_label_property::do_set ( const octave_value val)
inlineprotectedvirtual
bool text_label_property::empty ( void  ) const
inline

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

References octave_value::is_empty().

bool text_label_property::empty ( void  ) const
inline

Definition at line 739 of file graphics.h.

References octave_value::is_empty().

octave_value text_label_property::get ( void  ) const
inlinevirtual

Reimplemented from base_property.

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

References cell_value(), char_t, char_value(), octave_value(), and stored_type.

octave_value text_label_property::get ( void  ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 745 of file graphics.h.

References cell_value(), char_t, char_value(), octave_value(), and stored_type.

int base_property::get_id ( void  ) const
inlineinherited

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

References base_property::id.

int base_property::get_id ( void  ) const
inlineinherited

Definition at line 309 of file graphics.h.

References base_property::id.

Referenced by property::get_id().

std::string base_property::get_name ( void  ) const
inlineinherited

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

References base_property::name.

std::string base_property::get_name ( void  ) const
inlineinherited
graphics_handle base_property::get_parent ( void  ) const
inlineinherited

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

References base_property::parent.

graphics_handle base_property::get_parent ( void  ) const
inlineinherited

Definition at line 299 of file graphics.h.

References base_property::parent.

Referenced by callback_property::execute(), and property::get_parent().

bool base_property::is_hidden ( void  ) const
inlineinherited

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

References base_property::hidden.

bool base_property::is_hidden ( void  ) const
inlineinherited

Definition at line 303 of file graphics.h.

References base_property::hidden.

Referenced by property::is_hidden().

virtual bool base_property::is_radio ( void  ) const
inlinevirtualinherited
virtual bool base_property::is_radio ( void  ) const
inlinevirtualinherited
bool base_property::ok ( void  ) const
inlineinherited

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

References octave_handle::ok(), and base_property::parent.

bool base_property::ok ( void  ) const
inlineinherited

Definition at line 293 of file graphics.h.

References octave_handle::ok(), and base_property::parent.

Referenced by property::ok().

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

Reimplemented from base_property.

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

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

Reimplemented from base_property.

Definition at line 764 of file graphics.h.

OCTINTERP_API void base_property::run_listeners ( listener_mode  mode = POSTSET)
inherited
void base_property::run_listeners ( listener_mode  mode = POSTSET)
inherited
OCTINTERP_API bool base_property::set ( const octave_value v,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
inherited
bool base_property::set ( const octave_value v,
bool  do_run = true,
bool  do_notify_toolkit = true 
)
inherited
void base_property::set_hidden ( bool  flag)
inlineinherited

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

References base_property::hidden.

void base_property::set_hidden ( bool  flag)
inlineinherited
void base_property::set_id ( int  d)
inlineinherited

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

References d.

void base_property::set_id ( int  d)
inlineinherited
void base_property::set_name ( const std::string &  s)
inlineinherited

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

References base_property::name.

void base_property::set_name ( const std::string &  s)
inlineinherited

Definition at line 297 of file graphics.h.

References base_property::name.

Referenced by property::set_name().

void base_property::set_parent ( const graphics_handle h)
inlineinherited

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

References base_property::parent.

void base_property::set_parent ( const graphics_handle h)
inlineinherited

Definition at line 301 of file graphics.h.

References base_property::parent.

Referenced by property::set_parent().

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

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

References string_vector::empty(), and value.

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

Definition at line 753 of file graphics.h.

References string_vector::empty(), and value.

string_vector text_label_property::string_vector_value ( void  ) const
inline

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

References value.

string_vector text_label_property::string_vector_value ( void  ) const
inline

Definition at line 758 of file graphics.h.

References value.

virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, color_property, radio_property, and radio_property.

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

References error(), and base_property::name.

virtual Cell base_property::values_as_cell ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, color_property, radio_property, and radio_property.

Definition at line 331 of file graphics.h.

References error(), and base_property::name.

Referenced by property::values_as_cell().

virtual std::string base_property::values_as_string ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, color_property, radio_property, and radio_property.

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

References error(), and base_property::name.

virtual std::string base_property::values_as_string ( void  ) const
inlinevirtualinherited

Reimplemented in color_property, color_property, radio_property, and radio_property.

Definition at line 325 of file graphics.h.

References error(), and base_property::name.

Referenced by property::values_as_string().

Member Data Documentation

type text_label_property::stored_type
private

Definition at line 846 of file graphics.h.

Referenced by do_set(), and get().

string_vector text_label_property::value
private

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