Class: Java::JavafxSceneControl::Tab

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, JRubyFX::DSL::NAME_TO_CLASS_NAME

Constants included from JRubyFX::FXImports

JRubyFX::FXImports::JFX_CLASS_HIERARCHY, JRubyFX::FXImports::LOCAL_NAME_MAP

Constants included from JRubyFX

JRubyFX::VERSION

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, write_event_method

Methods included from JRubyFX::FXImports

#const_missing

Methods included from JRubyFX

#build, included, load_fx, #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

#on_closed(&block) ⇒ Object


1501
1502
1503
1504
1505
1506
1507
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1501

def on_closed(&block)
  if block_given?
    setOnClosed block
  else
    getOnClosed
  end
end

#on_selection_changed(&block) ⇒ Object


1508
1509
1510
1511
1512
1513
1514
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1508

def on_selection_changed(&block)
  if block_given?
    setOnSelectionChanged block
  else
    getOnSelectionChanged
  end
end