Class: HelloRadioGroup

Inherits:
Object
  • Object
show all
Includes:
Glimmer::UI::CustomShell
Defined in:
lib/glimmer-dsl-opal/samples/hello/hello_radio_group.rb

Overview

This sample demonstrates the use of a ‘radio_group` in Glimmer, which provides terser syntax than HelloRadio for representing multiple radio buttons by relying on data-binding to automatically spawn the `radio` widgets based on available options on the model.

Defined Under Namespace

Classes: Person

Instance Attribute Summary

Attributes included from Glimmer::UI::CustomWidget

#body_root, #options, #parent, #swt_style

Method Summary

Methods included from Glimmer::UI::CustomShell

#close, encoded_request_parameter_string, #hide, included, #initialize, #open, request_parameter_string, requested?, requested_and_not_handled?, #show, #start_event_loop, #visible?

Methods included from Glimmer::UI::CustomWidget

add_custom_widget_namespaces_for, #add_observer, #async_exec, #attribute_setter, #can_add_observer?, #can_handle_observation_request?, #content, custom_widget_namespaces, for, #get_attribute, #handle_observation_request, #has_attribute?, #has_instance_method?, #has_style?, included, #initialize, #local_respond_to?, #method_missing, namespaces_for_class, #post_initialize_child, reset_custom_widget_namespaces, #respond_to?, #set_attribute, #sync_exec

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Glimmer::UI::CustomWidget