Class: Glimmer::SWT::SWTProxy
- Inherits:
-
Object
- Object
- Glimmer::SWT::SWTProxy
- Includes:
- StyleConstantizable
- Defined in:
- lib/glimmer/swt/swt_proxy.rb
Overview
Proxy for org.eclipse.swt.SWT
Follows the Proxy Design Pattern
Constant Summary collapse
- JAVA_IMPORT =
'org.eclipse.swt.SWT'
- EXTRA_STYLES =
{ NO_RESIZE: self[:shell_trim, :resize!, :max!], }
Constants included from StyleConstantizable
Glimmer::SWT::StyleConstantizable::REGEX_SYMBOL_NEGATIVITY
Class Method Summary collapse
- .constant_java_import ⇒ Object
- .constant_source_class ⇒ Object
- .constant_value_none ⇒ Object
- .extra_styles ⇒ Object
Methods included from StyleConstantizable
[], constant, constantify_args, deconstruct, error_message_invalid_style, extract_symbol_string_negativity, has_constant?, include?, negative?, reverse_lookup
Class Method Details
.constant_java_import ⇒ Object
37 38 39 |
# File 'lib/glimmer/swt/swt_proxy.rb', line 37 def constant_java_import JAVA_IMPORT end |
.constant_source_class ⇒ Object
41 42 43 |
# File 'lib/glimmer/swt/swt_proxy.rb', line 41 def constant_source_class SWT end |
.constant_value_none ⇒ Object
45 46 47 |
# File 'lib/glimmer/swt/swt_proxy.rb', line 45 def constant_value_none SWT::NONE end |
.extra_styles ⇒ Object
49 50 51 |
# File 'lib/glimmer/swt/swt_proxy.rb', line 49 def extra_styles EXTRA_STYLES end |