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

#include "graphics.h"

Inheritance diagram for radio_property:
base_property bool_property

Public Member Functions

 radio_property ()=delete
 
 radio_property (const std::string &nm, const graphics_handle &h, const radio_values &v, const std::string &def)
 
 radio_property (const std::string &nm, const graphics_handle &h, const radio_values &v=radio_values())
 
 radio_property (const std::string &nm, const graphics_handle &h, const std::string &v)
 
 ~radio_property ()=default
 
base_propertyclone () const
 
const std::string & current_value () const
 
octave_value get () const
 
bool is (const caseless_str &v) const
 
bool is_radio () const
 
radio_propertyoperator= (const octave_value &val)
 
Cell values_as_cell () const
 
std::string values_as_string () 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
 
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)
 

Protected Member Functions

bool do_set (const octave_value &newval)
 

Detailed Description

Definition at line 935 of file graphics.h.

Constructor & Destructor Documentation

◆ radio_property() [1/4]

radio_property::radio_property ( )
delete

◆ radio_property() [2/4]

radio_property::radio_property ( const std::string &  nm,
const graphics_handle h,
const radio_values v = radio_values () 
)
inline

Definition at line 941 of file graphics.h.

◆ radio_property() [3/4]

radio_property::radio_property ( const std::string &  nm,
const graphics_handle h,
const std::string &  v 
)
inline

Definition at line 946 of file graphics.h.

◆ radio_property() [4/4]

radio_property::radio_property ( const std::string &  nm,
const graphics_handle h,
const radio_values v,
const std::string &  def 
)
inline

Definition at line 951 of file graphics.h.

◆ ~radio_property()

radio_property::~radio_property ( )
default

Member Function Documentation

◆ clone()

base_property* radio_property::clone ( ) const
inlinevirtual

Reimplemented from base_property.

Reimplemented in bool_property.

Definition at line 981 of file graphics.h.

◆ current_value()

const std::string& radio_property::current_value ( ) const
inline

Definition at line 963 of file graphics.h.

Referenced by axes::properties::get___autopos_tag__(), text::properties::get___autopos_tag__(), uicontrol::properties::get___focus__(), figure::properties::get___gl_window__(), base_properties::get___modified__(), figure::properties::get___mouse_mode__(), figure::properties::get___printing__(), patch::properties::get_aliminclude(), scatter::properties::get_aliminclude(), surface::properties::get_aliminclude(), hggroup::properties::get_aliminclude(), axes::properties::get_alimmode(), image::properties::get_alphadatamapping(), patch::properties::get_alphadatamapping(), surface::properties::get_alphadatamapping(), axes::properties::get_alphascale(), patch::properties::get_backfacelighting(), surface::properties::get_backfacelighting(), base_properties::get_beingdeleted(), uibuttongroup::properties::get_bordertype(), uipanel::properties::get_bordertype(), axes::properties::get_box(), axes::properties::get_boxstyle(), base_properties::get_busyaction(), axes::properties::get_camerapositionmode(), axes::properties::get_cameratargetmode(), axes::properties::get_cameraupvectormode(), axes::properties::get_cameraviewanglemode(), image::properties::get_cdatamapping(), patch::properties::get_cdatamapping(), surface::properties::get_cdatamapping(), scatter::properties::get_cdatamode(), uimenu::properties::get_checked(), patch::properties::get_climinclude(), scatter::properties::get_climinclude(), surface::properties::get_climinclude(), hggroup::properties::get_climinclude(), axes::properties::get_climmode(), base_properties::get_clipping(), uicontrol::properties::get_clipping(), uibuttongroup::properties::get_clipping(), axes::properties::get_clippingstyle(), axes::properties::get_colorscale(), axes::properties::get_dataaspectratiomode(), figure::properties::get_dockcontrols(), patch::properties::get_edgelighting(), surface::properties::get_edgelighting(), text::properties::get_editing(), uimenu::properties::get_enable(), uicontrol::properties::get_enable(), uitable::properties::get_enable(), uipushtool::properties::get_enable(), uitoggletool::properties::get_enable(), patch::properties::get_facelighting(), surface::properties::get_facelighting(), patch::properties::get_facenormalsmode(), surface::properties::get_facenormalsmode(), axes::properties::get_fontangle(), text::properties::get_fontangle(), uicontrol::properties::get_fontangle(), uibuttongroup::properties::get_fontangle(), uipanel::properties::get_fontangle(), uitable::properties::get_fontangle(), axes::properties::get_fontsizemode(), axes::properties::get_fontsmoothing(), text::properties::get_fontsmoothing(), axes::properties::get_fontunits(), text::properties::get_fontunits(), uicontrol::properties::get_fontunits(), uibuttongroup::properties::get_fontunits(), uipanel::properties::get_fontunits(), uitable::properties::get_fontunits(), axes::properties::get_fontweight(), text::properties::get_fontweight(), uicontrol::properties::get_fontweight(), uibuttongroup::properties::get_fontweight(), uipanel::properties::get_fontweight(), uitable::properties::get_fontweight(), figure::properties::get_graphicssmoothing(), axes::properties::get_gridalphamode(), axes::properties::get_gridcolormode(), axes::properties::get_gridlinestyle(), base_properties::get_handlevisibility(), base_properties::get_hittest(), text::properties::get_horizontalalignment(), uicontrol::properties::get_horizontalalignment(), text::properties::get_horizontalalignmentmode(), figure::properties::get_integerhandle(), text::properties::get_interpreter(), base_properties::get_interruptible(), figure::properties::get_inverthardcopy(), axes::properties::get_layer(), line::properties::get_linejoin(), line::properties::get_linestyle(), text::properties::get_linestyle(), patch::properties::get_linestyle(), surface::properties::get_linestyle(), line::properties::get_marker(), patch::properties::get_marker(), scatter::properties::get_marker(), surface::properties::get_marker(), figure::properties::get_menubar(), surface::properties::get_meshstyle(), axes::properties::get_minorgridalphamode(), axes::properties::get_minorgridcolormode(), axes::properties::get_minorgridlinestyle(), figure::properties::get_nextplot(), axes::properties::get_nextplot(), figure::properties::get_numbertitle(), figure::properties::get_paperorientation(), figure::properties::get_paperpositionmode(), figure::properties::get_papertype(), figure::properties::get_paperunits(), base_properties::get_pickableparts(), figure::properties::get_pickableparts(), axes::properties::get_plotboxaspectratiomode(), figure::properties::get_pointer(), axes::properties::get_positionconstraint(), text::properties::get_positionmode(), axes::properties::get_projection(), uitable::properties::get_rearrangeablecolumns(), figure::properties::get_renderer(), figure::properties::get_renderermode(), figure::properties::get_resize(), text::properties::get_rotationmode(), uitable::properties::get_rowstriping(), base_properties::get_selected(), base_properties::get_selectionhighlight(), figure::properties::get_selectiontype(), uimenu::properties::get_separator(), uipushtool::properties::get_separator(), uitoggletool::properties::get_separator(), root_figure::properties::get_showhiddenhandles(), axes::properties::get_sortmethod(), uitoggletool::properties::get_state(), light::properties::get_style(), uicontrol::properties::get_style(), axes::properties::get_tickdir(), axes::properties::get_tickdirmode(), axes::properties::get_ticklabelinterpreter(), axes::properties::get_titlefontweight(), uibuttongroup::properties::get_titleposition(), uipanel::properties::get_titleposition(), figure::properties::get_toolbar(), root_figure::properties::get_units(), figure::properties::get_units(), axes::properties::get_units(), text::properties::get_units(), uicontrol::properties::get_units(), uibuttongroup::properties::get_units(), uipanel::properties::get_units(), uitable::properties::get_units(), patch::properties::get_vertexnormalsmode(), surface::properties::get_vertexnormalsmode(), text::properties::get_verticalalignment(), uicontrol::properties::get_verticalalignment(), text::properties::get_verticalalignmentmode(), base_properties::get_visible(), figure::properties::get_windowstate(), figure::properties::get_windowstyle(), axes::properties::get_xaxislocation(), axes::properties::get_xcolormode(), image::properties::get_xdatamode(), axes::properties::get_xdir(), axes::properties::get_xgrid(), line::properties::get_xliminclude(), text::properties::get_xliminclude(), image::properties::get_xliminclude(), patch::properties::get_xliminclude(), scatter::properties::get_xliminclude(), surface::properties::get_xliminclude(), hggroup::properties::get_xliminclude(), axes::properties::get_xlimitmethod(), axes::properties::get_xlimmode(), axes::properties::get_xminorgrid(), axes::properties::get_xminortick(), axes::properties::get_xscale(), axes::properties::get_xticklabelmode(), axes::properties::get_xtickmode(), axes::properties::get_yaxislocation(), axes::properties::get_ycolormode(), image::properties::get_ydatamode(), axes::properties::get_ydir(), axes::properties::get_ygrid(), line::properties::get_yliminclude(), text::properties::get_yliminclude(), image::properties::get_yliminclude(), patch::properties::get_yliminclude(), scatter::properties::get_yliminclude(), surface::properties::get_yliminclude(), hggroup::properties::get_yliminclude(), axes::properties::get_ylimitmethod(), axes::properties::get_ylimmode(), axes::properties::get_yminorgrid(), axes::properties::get_yminortick(), axes::properties::get_yscale(), axes::properties::get_yticklabelmode(), axes::properties::get_ytickmode(), axes::properties::get_zcolormode(), axes::properties::get_zdir(), axes::properties::get_zgrid(), line::properties::get_zliminclude(), text::properties::get_zliminclude(), patch::properties::get_zliminclude(), scatter::properties::get_zliminclude(), surface::properties::get_zliminclude(), hggroup::properties::get_zliminclude(), axes::properties::get_zlimitmethod(), axes::properties::get_zlimmode(), axes::properties::get_zminorgrid(), axes::properties::get_zminortick(), axes::properties::get_zscale(), axes::properties::get_zticklabelmode(), and axes::properties::get_ztickmode().

◆ do_set()

bool radio_property::do_set ( const octave_value newval)
inlineprotectedvirtual

Reimplemented from base_property.

Reimplemented in bool_property.

Definition at line 984 of file graphics.h.

References error(), octave_value::is_string(), octave_value::string_value(), and warning_with_id().

Referenced by bool_property::do_set().

◆ get()

octave_value radio_property::get ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 961 of file graphics.h.

References octave_value().

◆ is()

bool radio_property::is ( const caseless_str v) const
inline

Definition at line 970 of file graphics.h.

References caseless_str::compare().

Referenced by axes::properties::__autopos_tag___is(), text::properties::__autopos_tag___is(), figure::properties::__mouse_mode___is(), axes::properties::alimmode_is(), image::properties::alphadatamapping_is(), patch::properties::alphadatamapping_is(), surface::properties::alphadatamapping_is(), axes::properties::alphascale_is(), patch::properties::backfacelighting_is(), surface::properties::backfacelighting_is(), uibuttongroup::properties::bordertype_is(), uipanel::properties::bordertype_is(), axes::properties::boxstyle_is(), base_properties::busyaction_is(), axes::properties::camerapositionmode_is(), axes::properties::cameratargetmode_is(), axes::properties::cameraupvectormode_is(), axes::properties::cameraviewanglemode_is(), image::properties::cdatamapping_is(), patch::properties::cdatamapping_is(), surface::properties::cdatamapping_is(), scatter::properties::cdatamode_is(), axes::properties::climmode_is(), axes::properties::clippingstyle_is(), axes::properties::colorscale_is(), axes::properties::dataaspectratiomode_is(), patch::properties::edgelighting_is(), surface::properties::edgelighting_is(), uicontrol::properties::enable_is(), patch::properties::facelighting_is(), surface::properties::facelighting_is(), patch::properties::facenormalsmode_is(), surface::properties::facenormalsmode_is(), axes::properties::fontangle_is(), text::properties::fontangle_is(), uicontrol::properties::fontangle_is(), uibuttongroup::properties::fontangle_is(), uipanel::properties::fontangle_is(), uitable::properties::fontangle_is(), axes::properties::fontsizemode_is(), axes::properties::fontunits_is(), text::properties::fontunits_is(), uicontrol::properties::fontunits_is(), uibuttongroup::properties::fontunits_is(), uipanel::properties::fontunits_is(), uitable::properties::fontunits_is(), axes::properties::fontweight_is(), text::properties::fontweight_is(), uicontrol::properties::fontweight_is(), uibuttongroup::properties::fontweight_is(), uipanel::properties::fontweight_is(), uitable::properties::fontweight_is(), axes::properties::gridalphamode_is(), axes::properties::gridcolormode_is(), axes::properties::gridlinestyle_is(), base_properties::handlevisibility_is(), text::properties::horizontalalignment_is(), uicontrol::properties::horizontalalignment_is(), text::properties::horizontalalignmentmode_is(), text::properties::interpreter_is(), patch::properties::is_aliminclude(), surface::properties::is_aliminclude(), patch::properties::is_climinclude(), surface::properties::is_climinclude(), axes::properties::layer_is(), line::properties::linejoin_is(), line::properties::linestyle_is(), text::properties::linestyle_is(), patch::properties::linestyle_is(), surface::properties::linestyle_is(), line::properties::marker_is(), patch::properties::marker_is(), scatter::properties::marker_is(), surface::properties::marker_is(), figure::properties::menubar_is(), surface::properties::meshstyle_is(), axes::properties::minorgridalphamode_is(), axes::properties::minorgridcolormode_is(), axes::properties::minorgridlinestyle_is(), figure::properties::nextplot_is(), axes::properties::nextplot_is(), figure::properties::paperorientation_is(), figure::properties::paperpositionmode_is(), figure::properties::papertype_is(), figure::properties::paperunits_is(), base_properties::pickableparts_is(), figure::properties::pickableparts_is(), axes::properties::plotboxaspectratiomode_is(), figure::properties::pointer_is(), axes::properties::positionconstraint_is(), text::properties::positionmode_is(), axes::properties::projection_is(), figure::properties::renderer_is(), figure::properties::renderermode_is(), text::properties::rotationmode_is(), figure::properties::selectiontype_is(), axes::properties::sortmethod_is(), light::properties::style_is(), uicontrol::properties::style_is(), axes::properties::tickdir_is(), axes::properties::tickdirmode_is(), axes::properties::ticklabelinterpreter_is(), axes::properties::titlefontweight_is(), uibuttongroup::properties::titleposition_is(), uipanel::properties::titleposition_is(), figure::properties::toolbar_is(), root_figure::properties::units_is(), figure::properties::units_is(), axes::properties::units_is(), text::properties::units_is(), uicontrol::properties::units_is(), uibuttongroup::properties::units_is(), uipanel::properties::units_is(), uitable::properties::units_is(), axes::properties::update_xlim(), axes::properties::update_ylim(), axes::properties::update_zlim(), patch::properties::vertexnormalsmode_is(), surface::properties::vertexnormalsmode_is(), text::properties::verticalalignment_is(), uicontrol::properties::verticalalignment_is(), text::properties::verticalalignmentmode_is(), figure::properties::windowstate_is(), figure::properties::windowstyle_is(), axes::properties::xaxislocation_is(), axes::properties::xcolormode_is(), image::properties::xdatamode_is(), axes::properties::xdir_is(), axes::properties::xlimitmethod_is(), axes::properties::xlimmode_is(), axes::properties::xscale_is(), axes::properties::xticklabelmode_is(), axes::properties::xtickmode_is(), axes::properties::yaxislocation_is(), axes::properties::ycolormode_is(), image::properties::ydatamode_is(), axes::properties::ydir_is(), axes::properties::ylimitmethod_is(), axes::properties::ylimmode_is(), axes::properties::yscale_is(), axes::properties::yticklabelmode_is(), axes::properties::ytickmode_is(), axes::properties::zcolormode_is(), axes::properties::zdir_is(), axes::properties::zlimitmethod_is(), axes::properties::zlimmode_is(), axes::properties::zscale_is(), axes::properties::zticklabelmode_is(), and axes::properties::ztickmode_is().

◆ is_radio()

bool radio_property::is_radio ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 973 of file graphics.h.

◆ operator=()

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

Definition at line 975 of file graphics.h.

◆ values_as_cell()

Cell radio_property::values_as_cell ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 968 of file graphics.h.

◆ values_as_string()

std::string radio_property::values_as_string ( ) const
inlinevirtual

Reimplemented from base_property.

Definition at line 965 of file graphics.h.


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