Class: Glimmer::SWT::DNDProxy

Inherits:
Object
  • Object
show all
Includes:
StyleConstantizable
Defined in:
lib/glimmer/swt/dnd_proxy.rb

Overview

Proxy for org.eclipse.swt.dnd.DND

Follows the Proxy Design Pattern

Constant Summary collapse

JAVA_IMPORT =
'org.eclipse.swt.dnd.DND'

Constants included from StyleConstantizable

StyleConstantizable::REGEX_SYMBOL_NEGATIVITY

Class Method Summary collapse

Methods included from StyleConstantizable

[], constant, constantify_args, deconstruct, error_message_invalid_style, extra_styles, extract_symbol_string_negativity, has_constant?, include?, negative?, reverse_lookup

Class Method Details

.constant_java_importObject



37
38
39
# File 'lib/glimmer/swt/dnd_proxy.rb', line 37

def constant_java_import
  JAVA_IMPORT
end

.constant_source_classObject



41
42
43
# File 'lib/glimmer/swt/dnd_proxy.rb', line 41

def constant_source_class
  DND
end

.constant_value_noneObject



45
46
47
# File 'lib/glimmer/swt/dnd_proxy.rb', line 45

def constant_value_none
  DND::DROP_NONE
end