Class: Java::JavafxSceneControl::ToggleButton

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

#alignment=(rbenum) ⇒ Object



132
133
134
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 132

def alignment=(rbenum)
  java_send "setAlignment", [Java::JavafxGeometry::Pos], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxGeometry::Pos)
end

#blend_mode=(rbenum) ⇒ Object



135
136
137
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 135

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



138
139
140
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 138

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

#content_display=(rbenum) ⇒ Object



129
130
131
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 129

def content_display=(rbenum)
  java_send "setContentDisplay", [Java::JavafxSceneControl::ContentDisplay], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneControl::ContentDisplay)
end

#depth_test=(rbenum) ⇒ Object



141
142
143
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 141

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

#text_alignment=(rbenum) ⇒ Object



123
124
125
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 123

def text_alignment=(rbenum)
  java_send "setTextAlignment", [Java::JavafxSceneText::TextAlignment], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneText::TextAlignment)
end

#text_fill=(value) ⇒ Object



144
145
146
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 144

def text_fill=(value)
  setTextFill(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
end

#text_overrun=(rbenum) ⇒ Object



126
127
128
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 126

def text_overrun=(rbenum)
  java_send "setTextOverrun", [Java::JavafxSceneControl::OverrunStyle], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneControl::OverrunStyle)
end