Class: Java::JavafxScene::Node

Inherits:
Object
  • Object
show all
Includes:
JRubyFX::DSL
Defined in:
lib/jrubyfx/core_ext/precompiled.rb

Constant Summary

Constants included from JRubyFX::DSL

JRubyFX::DSL::NAME_TO_CLASSES

Constants included from JRubyFX

JRubyFX::VERSION

Constants included from JRubyFX::FXImports

JRubyFX::FXImports::JFX_CLASS_HIERARCHY

Instance Method Summary collapse

Methods included from JRubyFX::DSL

compile_dsl, included, load_dsl, #logical_lookup, #method_missing, #self_test_lookup, write_color_method_converter, write_enum_converter, write_enum_method_converter

Methods included from JRubyFX

#build, included, #run_later, #with

Methods included from JRubyFX::Utils::CommonUtils

#attempt_conversion, #populate_properties, #split_args_from_properties

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class JRubyFX::DSL

Instance Method Details

#blend_mode=(rbenum) ⇒ Object



9
10
11
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 9

def blend_mode=(rbenum)
  java_send "setBlendMode", [Java::JavafxSceneEffect::BlendMode], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneEffect::BlendMode)
end

#cache_hint=(rbenum) ⇒ Object



12
13
14
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 12

def cache_hint=(rbenum)
  java_send "setCacheHint", [Java::JavafxScene::CacheHint], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::CacheHint)
end

#depth_test=(rbenum) ⇒ Object



15
16
17
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 15

def depth_test=(rbenum)
  java_send "setDepthTest", [Java::JavafxScene::DepthTest], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxScene::DepthTest)
end

#effect(*r) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 21

def effect(*r)
  if r.length > 0
    self.effect = r[0]
  else
    get_effect
  end
end

#rotate(*args) ⇒ Object



18
19
20
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 18

def rotate(*args)
  transforms << build(Rotate, *args)
end