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

#include "graphics.h"

Inheritance diagram for uimenu::properties:
base_properties

Public Types

enum  {
  ID_ACCELERATOR = 12000 , ID_CALLBACK = 12001 , ID_CHECKED = 12002 , ID_ENABLE = 12003 ,
  ID_FOREGROUNDCOLOR = 12004 , ID_LABEL = 12005 , ID_MENUSELECTEDFCN = 12006 , ID_POSITION = 12007 ,
  ID_SEPARATOR = 12008 , ID_TEXT = 12009 , ID___FLTK_LABEL__ = 12010 , ID___OBJECT__ = 12011
}
 
- Public Types inherited from base_properties
enum  {
  ID_BEINGDELETED = 0 , ID_BUSYACTION = 1 , ID_BUTTONDOWNFCN = 2 , ID_CHILDREN = 3 ,
  ID_CLIPPING = 4 , ID_CONTEXTMENU = 5 , ID_CREATEFCN = 6 , ID_DELETEFCN = 7 ,
  ID_HANDLEVISIBILITY = 8 , ID_HITTEST = 9 , ID_INTERRUPTIBLE = 10 , ID_PARENT = 11 ,
  ID_PICKABLEPARTS = 12 , ID_SELECTED = 13 , ID_SELECTIONHIGHLIGHT = 14 , ID_TAG = 15 ,
  ID_TYPE = 16 , ID_UICONTEXTMENU = 17 , ID_USERDATA = 18 , ID_VISIBLE = 19 ,
  ID___APPDATA__ = 20 , ID___MODIFIED__ = 21 , ID___MYHANDLE__ = 22
}
 

Public Member Functions

 properties ()=delete
 
 properties (const graphics_handle &mh, const graphics_handle &p)
 
 ~properties ()=default
 
void adopt (const graphics_handle &h)
 
std::set< std::string > all_property_names () const
 
void execute_menuselectedfcn (const octave_value &new_data=octave_value()) const
 
bool foregroundcolor_is (const std::string &v) const
 
bool foregroundcolor_is_rgb () const
 
octave_value get (bool all=false) const
 
octave_value get (const caseless_str &pname) const
 
octave_value get (const char *pname) const
 
octave_value get (const std::string &pname) const
 
std::string get___fltk_label__ () const
 
octave_value get___object__ () const
 
std::string get_accelerator () const
 
octave_value get_callback () const
 
std::string get_checked () const
 
std::string get_enable () const
 
octave_value get_foregroundcolor () const
 
Matrix get_foregroundcolor_rgb () const
 
std::string get_label () const
 
octave_value get_menuselectedfcn () const
 
double get_position () const
 
property get_property (const caseless_str &pname)
 
std::string get_separator () const
 
std::string get_text () const
 
std::string graphics_object_name () const
 
bool has_property (const caseless_str &pname) const
 
bool is_checked () const
 
bool is_enable () const
 
bool is_separator () const
 
void remove_child (const graphics_handle &h, bool from_root=false)
 
void set (const caseless_str &pname, const octave_value &val)
 
void set___fltk_label__ (const octave_value &val)
 
void set___object__ (const octave_value &val)
 
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_menuselectedfcn (const octave_value &val)
 
void set_position (const octave_value &val)
 
void set_separator (const octave_value &val)
 
void set_text (const octave_value &val)
 
- Public Member Functions inherited from base_properties
 base_properties (const std::string &ty="unknown", const graphics_handle &mh=graphics_handle(), const graphics_handle &p=graphics_handle())
 
virtual ~base_properties ()=default
 
virtual void add_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET)
 
std::set< std::string > all_property_names () const
 
bool busyaction_is (const std::string &v) const
 
virtual void delete_children (bool clear=false, bool from_root=false)
 
virtual void delete_listener (const caseless_str &, const octave_value &, listener_mode=GCB_POSTSET)
 
std::set< std::string > dynamic_property_names () const
 
void execute_buttondownfcn (const octave_value &new_data=octave_value()) const
 
void execute_createfcn (const octave_value &new_data=octave_value()) const
 
void execute_deletefcn (const octave_value &new_data=octave_value()) const
 
octave_value get___appdata__ () const
 
std::string get___modified__ () const
 
graphics_handle get___myhandle__ () const
 
virtual octave_value get_alim () const
 
Matrix get_all_children () const
 
std::string get_beingdeleted () const
 
virtual Matrix get_boundingbox (bool=false, const Matrix &=Matrix()) const
 
std::string get_busyaction () const
 
octave_value get_buttondownfcn () const
 
Matrix get_children () const
 
void get_children_of_type (const caseless_str &type, bool get_invisible, bool traverse, std::list< graphics_object > &children_list) const
 
virtual octave_value get_clim () const
 
std::string get_clipping () const
 
graphics_handle get_contextmenu () const
 
octave_value get_createfcn () const
 
octave_value get_deletefcn () const
 
std::string get_handlevisibility () const
 
Matrix get_hidden_children () const
 
std::string get_hittest () const
 
std::string get_interruptible () const
 
graphics_handle get_parent () const
 
std::string get_pickableparts () const
 
std::string get_selected () const
 
std::string get_selectionhighlight () const
 
std::string get_tag () const
 
virtual octave::graphics_toolkit get_toolkit () const
 
std::string get_type () const
 
graphics_handle get_uicontextmenu () const
 
octave_value get_userdata () const
 
std::string get_visible () const
 
virtual octave_value get_xlim () const
 
virtual octave_value get_ylim () const
 
virtual octave_value get_zlim () const
 
bool handlevisibility_is (const std::string &v) const
 
bool has_dynamic_property (const std::string &pname) const
 
virtual void init_integerhandle (const octave_value &)
 
void insert_property (const std::string &name, property p)
 
bool is___modified__ () const
 
virtual bool is_aliminclude () const
 
bool is_beingdeleted () const
 
virtual bool is_climinclude () const
 
bool is_clipping () const
 
bool is_handle_visible () const
 
bool is_hittest () const
 
bool is_interruptible () const
 
bool is_modified () const
 
bool is_selected () const
 
bool is_selectionhighlight () const
 
bool is_visible () const
 
virtual bool is_xliminclude () const
 
virtual bool is_yliminclude () const
 
virtual bool is_zliminclude () const
 
void mark_modified ()
 
void override_defaults (base_graphics_object &obj)
 
bool pickableparts_is (const std::string &v) const
 
void renumber_child (graphics_handle old_gh, graphics_handle new_gh)
 
void renumber_parent (graphics_handle new_gh)
 
void reparent (const graphics_handle &new_parent)
 
void set___appdata__ (const octave_value &val)
 
void set___modified__ (const octave_value &val)
 
void set_beingdeleted (const octave_value &val)
 
void set_busyaction (const octave_value &val)
 
void set_buttondownfcn (const octave_value &val)
 
void set_children (const octave_value &val)
 
void set_clipping (const octave_value &val)
 
void set_contextmenu (const octave_value &val)
 
void set_createfcn (const octave_value &val)
 
void set_deletefcn (const octave_value &val)
 
void set_from_list (base_graphics_object &obj, property_list &defaults)
 
void set_handlevisibility (const octave_value &val)
 
void set_hittest (const octave_value &val)
 
void set_interruptible (const octave_value &val)
 
void set_modified (const octave_value &val)
 
void set_parent (const octave_value &val)
 
void set_pickableparts (const octave_value &val)
 
void set_selected (const octave_value &val)
 
void set_selectionhighlight (const octave_value &val)
 
void set_tag (const octave_value &val)
 
void set_uicontextmenu (const octave_value &val)
 
void set_userdata (const octave_value &val)
 
void set_visible (const octave_value &val)
 
virtual void update_autopos (const std::string &elem_type)
 
virtual void update_axis_limits (const std::string &axis_type) const
 
virtual void update_axis_limits (const std::string &axis_type, const graphics_handle &h) const
 
virtual void update_beingdeleted ()
 
virtual void update_boundingbox ()
 
virtual void update_contextmenu () const
 
virtual void update_handlevisibility ()
 
virtual void update_visible ()
 

Static Public Member Functions

static std::set< std::string > core_property_names ()
 
static property_list::pval_map_type factory_defaults ()
 
static bool has_core_property (const caseless_str &pname)
 
static bool has_readonly_property (const caseless_str &pname)
 
static std::set< std::string > readonly_property_names ()
 
- Static Public Member Functions inherited from base_properties
static std::set< std::string > core_property_names ()
 
static property_list::pval_map_type factory_defaults ()
 
static bool has_core_property (const caseless_str &pname)
 
static bool has_readonly_property (const caseless_str &pname)
 
static std::set< std::string > readonly_property_names ()
 

Protected Member Functions

void init ()
 
- Protected Member Functions inherited from base_properties
octave_value get_dynamic (bool all=false) const
 
octave_value get_dynamic (const caseless_str &pname) const
 
property get_property_dynamic (const caseless_str &pname) const
 
void set_dynamic (const caseless_str &pname, const octave_value &val)
 

Additional Inherited Members

- Protected Attributes inherited from base_properties
any_property m___appdata__
 
bool_property m___modified__
 
graphics_handle m___myhandle__
 
std::map< caseless_str, property, cmp_caseless_strm_all_props
 
bool_property m_beingdeleted
 
radio_property m_busyaction
 
callback_property m_buttondownfcn
 
children_property m_children
 
bool_property m_clipping
 
handle_property m_contextmenu
 
callback_property m_createfcn
 
callback_property m_deletefcn
 
std::set< std::string > m_dynamic_properties
 
radio_property m_handlevisibility
 
bool_property m_hittest
 
bool_property m_interruptible
 
handle_property m_parent
 
radio_property m_pickableparts
 
bool_property m_selected
 
bool_property m_selectionhighlight
 
string_property m_tag
 
string_property m_type
 
handle_property m_uicontextmenu
 
any_property m_userdata
 
bool_property m_visible
 

Detailed Description

Definition at line 11722 of file graphics.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
ID_ACCELERATOR 
ID_CALLBACK 
ID_CHECKED 
ID_ENABLE 
ID_FOREGROUNDCOLOR 
ID_LABEL 
ID_MENUSELECTEDFCN 
ID_POSITION 
ID_SEPARATOR 
ID_TEXT 
ID___FLTK_LABEL__ 
ID___OBJECT__ 

Definition at line 11806 of file graphics.h.

Constructor & Destructor Documentation

◆ properties() [1/2]

◆ properties() [2/2]

uimenu::properties::properties ( )
delete

◆ ~properties()

uimenu::properties::~properties ( )
default

Member Function Documentation

◆ adopt()

void uimenu::properties::adopt ( const graphics_handle h)
inlinevirtual

Reimplemented from base_properties.

Definition at line 11731 of file graphics.h.

References base_properties::adopt().

◆ all_property_names()

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

Definition at line 6980 of file graphics-props.cc.

References base_properties::all_property_names().

◆ core_property_names()

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

Definition at line 6914 of file graphics-props.cc.

References base_properties::core_property_names().

◆ execute_menuselectedfcn()

void uimenu::properties::execute_menuselectedfcn ( const octave_value new_data = octave_value ()) const
inline

Definition at line 11835 of file graphics.h.

References callback_property::execute().

◆ factory_defaults()

property_list::pval_map_type uimenu::properties::factory_defaults ( )
static

Definition at line 6891 of file graphics-props.cc.

References base_properties::factory_defaults(), and m.

◆ foregroundcolor_is()

bool uimenu::properties::foregroundcolor_is ( const std::string &  v) const
inline

Definition at line 11831 of file graphics.h.

References color_property::is().

◆ foregroundcolor_is_rgb()

bool uimenu::properties::foregroundcolor_is_rgb ( ) const
inline

Definition at line 11830 of file graphics.h.

References color_property::is_rgb().

◆ get() [1/4]

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

Reimplemented from base_properties.

Definition at line 6792 of file graphics-props.cc.

References base_properties::get(), m, and octave_value::map_value().

◆ get() [2/4]

octave_value uimenu::properties::get ( const caseless_str pname) const
virtual

Reimplemented from base_properties.

Definition at line 6817 of file graphics-props.cc.

◆ get() [3/4]

octave_value uimenu::properties::get ( const char *  pname) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 11760 of file graphics.h.

◆ get() [4/4]

octave_value uimenu::properties::get ( const std::string &  pname) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 11755 of file graphics.h.

◆ get___fltk_label__()

std::string uimenu::properties::get___fltk_label__ ( ) const
inline

Definition at line 11845 of file graphics.h.

References string_property::string_value().

◆ get___object__()

octave_value uimenu::properties::get___object__ ( ) const
inline

Definition at line 11847 of file graphics.h.

References any_property::get().

◆ get_accelerator()

std::string uimenu::properties::get_accelerator ( ) const
inline

Definition at line 11822 of file graphics.h.

References string_property::string_value().

◆ get_callback()

octave_value uimenu::properties::get_callback ( ) const
inline

Definition at line 11943 of file graphics.h.

◆ get_checked()

std::string uimenu::properties::get_checked ( ) const
inline

Definition at line 11825 of file graphics.h.

References radio_property::current_value().

◆ get_enable()

std::string uimenu::properties::get_enable ( ) const
inline

Definition at line 11828 of file graphics.h.

References radio_property::current_value().

◆ get_foregroundcolor()

octave_value uimenu::properties::get_foregroundcolor ( ) const
inline

Definition at line 11833 of file graphics.h.

References color_property::get().

◆ get_foregroundcolor_rgb()

Matrix uimenu::properties::get_foregroundcolor_rgb ( ) const
inline

Definition at line 11832 of file graphics.h.

References color_property::is_rgb(), and color_property::rgb().

◆ get_label()

std::string uimenu::properties::get_label ( ) const
inline

Definition at line 11932 of file graphics.h.

◆ get_menuselectedfcn()

octave_value uimenu::properties::get_menuselectedfcn ( ) const
inline

Definition at line 11836 of file graphics.h.

References callback_property::get().

◆ get_position()

double uimenu::properties::get_position ( ) const
inline

Definition at line 11838 of file graphics.h.

References double_property::double_value().

◆ get_property()

property uimenu::properties::get_property ( const caseless_str pname)
virtual

Reimplemented from base_properties.

Definition at line 6856 of file graphics-props.cc.

◆ get_separator()

std::string uimenu::properties::get_separator ( ) const
inline

Definition at line 11841 of file graphics.h.

References radio_property::current_value().

◆ get_text()

std::string uimenu::properties::get_text ( ) const
inline

Definition at line 11843 of file graphics.h.

References string_property::string_value().

◆ graphics_object_name()

std::string uimenu::properties::graphics_object_name ( ) const
inlinevirtual

Reimplemented from base_properties.

Definition at line 11767 of file graphics.h.

◆ has_core_property()

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

Definition at line 6945 of file graphics-props.cc.

Referenced by property_list::set().

◆ has_property()

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

Reimplemented from base_properties.

Definition at line 6992 of file graphics-props.cc.

◆ has_readonly_property()

bool uimenu::properties::has_readonly_property ( const caseless_str pname)
static

Definition at line 6972 of file graphics-props.cc.

◆ init()

void uimenu::properties::init ( )
inlineprotectedvirtual

Reimplemented from base_properties.

Definition at line 11954 of file graphics.h.

References double_property::add_constraint().

Referenced by properties().

◆ is_checked()

bool uimenu::properties::is_checked ( ) const
inline

Definition at line 11824 of file graphics.h.

References bool_property::is_on().

◆ is_enable()

bool uimenu::properties::is_enable ( ) const
inline

Definition at line 11827 of file graphics.h.

References bool_property::is_on().

◆ is_separator()

bool uimenu::properties::is_separator ( ) const
inline

Definition at line 11840 of file graphics.h.

References bool_property::is_on().

◆ readonly_property_names()

std::set< std::string > uimenu::properties::readonly_property_names ( )
static

Definition at line 6953 of file graphics-props.cc.

References base_properties::readonly_property_names().

◆ remove_child()

void uimenu::properties::remove_child ( const graphics_handle h,
bool  from_root = false 
)
inlinevirtual

Reimplemented from base_properties.

Definition at line 11726 of file graphics.h.

References base_properties::remove_child().

◆ set()

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

Reimplemented from base_properties.

Definition at line 6751 of file graphics-props.cc.

◆ set___fltk_label__()

void uimenu::properties::set___fltk_label__ ( const octave_value val)
inline

Definition at line 11914 of file graphics.h.

References base_property::set().

◆ set___object__()

void uimenu::properties::set___object__ ( const octave_value val)
inline

Definition at line 11922 of file graphics.h.

References base_property::set().

◆ set_accelerator()

void uimenu::properties::set_accelerator ( const octave_value val)
inline

Definition at line 11850 of file graphics.h.

References base_property::set().

◆ set_callback()

void uimenu::properties::set_callback ( const octave_value val)
inline

Definition at line 11948 of file graphics.h.

◆ set_checked()

void uimenu::properties::set_checked ( const octave_value val)
inline

Definition at line 11858 of file graphics.h.

References base_property::set().

◆ set_enable()

void uimenu::properties::set_enable ( const octave_value val)
inline

Definition at line 11866 of file graphics.h.

References base_property::set().

◆ set_foregroundcolor()

void uimenu::properties::set_foregroundcolor ( const octave_value val)
inline

Definition at line 11874 of file graphics.h.

References base_property::set().

◆ set_label()

void uimenu::properties::set_label ( const octave_value val)
inline

Definition at line 11937 of file graphics.h.

◆ set_menuselectedfcn()

void uimenu::properties::set_menuselectedfcn ( const octave_value val)
inline

Definition at line 11882 of file graphics.h.

References base_property::set().

◆ set_position()

void uimenu::properties::set_position ( const octave_value val)
inline

Definition at line 11890 of file graphics.h.

References base_property::set().

◆ set_separator()

void uimenu::properties::set_separator ( const octave_value val)
inline

Definition at line 11898 of file graphics.h.

References base_property::set().

◆ set_text()

void uimenu::properties::set_text ( const octave_value val)
inline

Definition at line 11906 of file graphics.h.

References base_property::set().


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