Class: GreetingLabel

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

Overview

This class declares a ‘greeting_label` custom widget (by convention)

Instance Attribute Summary collapse

Attributes included from Glimmer::UI::CustomWidget

#body_root, #options, #parent, #swt_style

Method Summary

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

Instance Attribute Details

#colorObject

internal attribute (not a custom widget option)



33
34
35
# File 'lib/glimmer-dsl-opal/samples/hello/hello_custom_widget.rb', line 33

def color
  @color
end