Class: Glimmer::SWT::CTabItemProxy
- Inherits:
-
TabItemProxy
- Object
- WidgetProxy
- TabItemProxy
- Glimmer::SWT::CTabItemProxy
- Defined in:
- lib/glimmer/swt/c_tab_item_proxy.rb
Overview
Proxy for org.eclipse.swt.custom.CTabItem
Functions differently from other widget proxies.
Glimmer instantiates an SWT Composite alongside the SWT TabItem and returns it for ‘#swt_widget` to allow adding widgets into it.
In order to get the SWT TabItem object, one must call ‘#swt_tab_item`.
Behind the scenes, this creates a tab item widget proxy separately from a composite that is set as the control of the tab item and ‘#swt_widget`.
In order to retrieve the tab item widget proxy, one must call ‘#widget_proxy`
Follows the Proxy Design Pattern
Constant Summary collapse
- ATTRIBUTES =
TabItemProxy::ATTRIBUTES + %w[foreground selection_foreground show_close font]
Constants inherited from WidgetProxy
WidgetProxy::DEFAULT_INITIALIZERS, WidgetProxy::DEFAULT_STYLES, WidgetProxy::KEYWORD_ALIASES
Instance Attribute Summary
Attributes inherited from TabItemProxy
Attributes inherited from WidgetProxy
#drag_source_proxy, #drag_source_style, #drag_source_transfer, #drop_target_proxy, #drop_target_transfer, #finished_add_content, #parent_proxy, #swt_widget
Attributes included from Glimmer::SWT::Custom::Drawable
#image_double_buffered, #requires_shape_disposal
Instance Method Summary collapse
Methods inherited from TabItemProxy
#dispose, #get_attribute, #has_attribute?, #initialize, #set_attribute
Methods inherited from WidgetProxy
#add_observer, #async_exec, #auto_exec, #can_add_observer?, #can_handle_drag_observation_request?, #can_handle_drop_observation_request?, #can_handle_observation_request?, #content, create, #dispose, #disposed?, #ensure_drag_source_proxy, #ensure_drop_target_proxy, #extract_args, #finish_add_content!, flyweight_swt_widget_classes, #get_attribute, #handle_observation_request, #has_attribute?, #has_style?, #height, #initialize, #method_missing, #pack_same_size, #post_add_content, #post_initialize_child, #proxy_source_object, #remove_observer, #respond_to?, #set_attribute, swt_widget_class_for, swt_widget_class_manual_entries, #sync_exec, #timer_exec, underscored_widget_name, widget_exists?, #widget_property_listener_installers, widget_proxy_class, #width, #x, #y
Methods included from Glimmer::SWT::Custom::Drawable
#add_shape, #clear_shapes, #deregister_shape_painting, #expanded_shapes, #image_buffered_shapes, #paint_pixel_by_pixel, #setup_shape_painting, #shape_at_location, #shapes, #swt_drawable
Methods included from ProxyProperties
#get_attribute, #has_attribute?, #has_attribute_getter?, #has_attribute_setter?, #method_missing, #proxy_source_object, #respond_to?, #set_attribute
Methods included from Properties
attribute_getter, #attribute_getter, attribute_setter, #attribute_setter, normalized_attribute, #normalized_attribute, ruby_attribute_getter, #ruby_attribute_setter, ruby_attribute_setter
Methods included from Packages
Constructor Details
This class inherits a constructor from Glimmer::SWT::TabItemProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Glimmer::SWT::WidgetProxy
Instance Method Details
#attributes ⇒ Object
45 46 47 |
# File 'lib/glimmer/swt/c_tab_item_proxy.rb', line 45 def attributes ATTRIBUTES end |