Navigation

Operators and Keywords

Function List:

C++ API

uimenu::properties Class Reference

#include <graphics.h>

Inherits base_properties.

Collaboration diagram for uimenu::properties:

List of all members.

Public Types

enum  {
  ID_ACCELERATOR = 10000, ID_CALLBACK = 10001, ID_CHECKED = 10002, ID_ENABLE = 10003,
  ID_FOREGROUNDCOLOR = 10004, ID_LABEL = 10005, ID_POSITION = 10006, ID_SEPARATOR = 10007,
  ID_FLTK_LABEL = 10008
}

Public Member Functions

void remove_child (const graphics_handle &h)
void adopt (const graphics_handle &h)
 properties (const graphics_handle &mh, const graphics_handle &p)
 ~properties (void)
void set (const caseless_str &pname, const octave_value &val)
octave_value get (bool all=false) const
octave_value get (const caseless_str &pname) const
octave_value get (const std::string &pname) const
octave_value get (const char *pname) const
 get_property (const caseless_str &pname)
std::string graphics_object_name (void) const
std::set< std::string > all_property_names (void) const
bool has_property (const caseless_str &pname) const
std::string get_accelerator (void) const
void execute_callback (const octave_value &data=octave_value()) const
octave_value get_callback (void) const
bool is_checked (void) const
std::string get_checked (void) const
bool is_enable (void) const
std::string get_enable (void) const
bool foregroundcolor_is_rgb (void) const
bool foregroundcolor_is (const std::string &v) const
Matrix get_foregroundcolor_rgb (void) const
octave_value get_foregroundcolor (void) const
std::string get_label (void) const
double get_position (void) const
bool is_separator (void) const
std::string get_separator (void) const
std::string get_fltk_label (void) const
void set_accelerator (const octave_value &val)
void set_callback (const octave_value &val)
void set_checked (const octave_value &val)
void set_enable (const octave_value &val)
void set_foregroundcolor (const octave_value &val)
void set_label (const octave_value &val)
void set_position (const octave_value &val)
void set_separator (const octave_value &val)
void set_fltk_label (const octave_value &val)

Static Public Member Functions

static property_list::pval_map_type factory_defaults (void)
static std::set< std::string > core_property_names (void)
static bool has_core_property (const caseless_str &pname)

Protected Member Functions

void init (void)

Member Enumeration Documentation

anonymous enum
Enumerator:
ID_ACCELERATOR 
ID_CALLBACK 
ID_CHECKED 
ID_ENABLE 
ID_FOREGROUNDCOLOR 
ID_LABEL 
ID_POSITION 
ID_SEPARATOR 
ID_FLTK_LABEL 

Constructor & Destructor Documentation

uimenu::properties::properties ( const graphics_handle mh,
const graphics_handle p 
)
uimenu::properties::~properties ( void   )  [inline]

Member Function Documentation

void uimenu::properties::adopt ( const graphics_handle h  )  [inline, virtual]

Reimplemented from base_properties.

std::set< std::string > uimenu::properties::all_property_names ( void   )  const

Reimplemented from base_properties.

std::set< std::string > uimenu::properties::core_property_names ( void   )  [static]

Reimplemented from base_properties.

void uimenu::properties::execute_callback ( const octave_value data = octave_value ()  )  const [inline]
property_list::pval_map_type uimenu::properties::factory_defaults ( void   )  [static]

Reimplemented from base_properties.

bool uimenu::properties::foregroundcolor_is ( const std::string &  v  )  const [inline]
bool uimenu::properties::foregroundcolor_is_rgb ( void   )  const [inline]
octave_value uimenu::properties::get ( const caseless_str pname  )  const [virtual]

Reimplemented from base_properties.

octave_value uimenu::properties::get ( bool  all = false  )  const [virtual]

Reimplemented from base_properties.

octave_value uimenu::properties::get ( const std::string &  pname  )  const [inline, virtual]

Reimplemented from base_properties.

octave_value uimenu::properties::get ( const char *  pname  )  const [inline, virtual]

Reimplemented from base_properties.

std::string uimenu::properties::get_accelerator ( void   )  const [inline]
octave_value uimenu::properties::get_callback ( void   )  const [inline]
std::string uimenu::properties::get_checked ( void   )  const [inline]
std::string uimenu::properties::get_enable ( void   )  const [inline]
std::string uimenu::properties::get_fltk_label ( void   )  const [inline]
octave_value uimenu::properties::get_foregroundcolor ( void   )  const [inline]
Matrix uimenu::properties::get_foregroundcolor_rgb ( void   )  const [inline]
std::string uimenu::properties::get_label ( void   )  const [inline]
double uimenu::properties::get_position ( void   )  const [inline]
uimenu::properties::get_property ( const caseless_str pname  )  [virtual]

Reimplemented from base_properties.

std::string uimenu::properties::get_separator ( void   )  const [inline]
std::string uimenu::properties::graphics_object_name ( void   )  const [inline, virtual]

Reimplemented from base_properties.

bool uimenu::properties::has_core_property ( const caseless_str pname  )  [static]

Reimplemented from base_properties.

bool uimenu::properties::has_property ( const caseless_str pname  )  const [virtual]

Reimplemented from base_properties.

void uimenu::properties::init ( void   )  [inline, protected, virtual]

Reimplemented from base_properties.

bool uimenu::properties::is_checked ( void   )  const [inline]
bool uimenu::properties::is_enable ( void   )  const [inline]
bool uimenu::properties::is_separator ( void   )  const [inline]
void uimenu::properties::remove_child ( const graphics_handle h  )  [inline, virtual]

Reimplemented from base_properties.

void uimenu::properties::set ( const caseless_str pname,
const octave_value val 
) [virtual]

Reimplemented from base_properties.

void uimenu::properties::set_accelerator ( const octave_value val  )  [inline]
void uimenu::properties::set_callback ( const octave_value val  )  [inline]
void uimenu::properties::set_checked ( const octave_value val  )  [inline]
void uimenu::properties::set_enable ( const octave_value val  )  [inline]
void uimenu::properties::set_fltk_label ( const octave_value val  )  [inline]
void uimenu::properties::set_foregroundcolor ( const octave_value val  )  [inline]
void uimenu::properties::set_label ( const octave_value val  )  [inline]
void uimenu::properties::set_position ( const octave_value val  )  [inline]
void uimenu::properties::set_separator ( const octave_value val  )  [inline]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines