Class: Glimmer::Wx::ControlProxy::SpinCtrlProxy
- Inherits:
-
Glimmer::Wx::ControlProxy
- Object
- Glimmer::Wx::ControlProxy
- Glimmer::Wx::ControlProxy::SpinCtrlProxy
- Defined in:
- lib/glimmer/wx/control_proxy/spin_ctrl_proxy.rb
Overview
Proxy for Wx spin ctrl objects
Follows the Proxy Design Pattern
Instance Attribute Summary
Attributes inherited from Glimmer::Wx::ControlProxy
#args, #block, #content_added, #keyword, #parent_proxy, #wx
Instance Method Summary collapse
Methods inherited from Glimmer::Wx::ControlProxy
#can_handle_listener?, constant_symbol, #content, #control_proxy, control_proxy_class, create, #custom_listener_name_aliases, #custom_listener_names, #deregister_all_custom_listeners, #deregister_custom_listeners, descendant_keyword_constant_map, exists?, #frame_proxy, #handle_custom_listener, #handle_listener, #has_custom_listener?, #initialize, keyword, #listeners, #listeners_for, map_descendant_keyword_constants_for, #method_missing, new_control, #notify_custom_listeners, #options, #post_add_content, #post_initialize_child, reset_descendant_keyword_constant_map, #respond_to?, wx_constant_symbol
Methods included from DataBindable
#data_bind, #data_bind_read, #data_binding_model_attribute_observer_registrations
Constructor Details
This class inherits a constructor from Glimmer::Wx::ControlProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Glimmer::Wx::ControlProxy
Instance Method Details
#data_bind_write(property, model_binding) ⇒ Object
31 32 33 34 35 |
# File 'lib/glimmer/wx/control_proxy/spin_ctrl_proxy.rb', line 31 def data_bind_write(property, model_binding) if property == 'value' handle_listener('on_spinctrl') { model_binding.call(value) } end end |