Class: Java::JavafxConcurrent::Service

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_cancelled(&block) ⇒ Object



1429
1430
1431
1432
1433
1434
1435
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1429

def on_cancelled(&block)
  if block_given?
    setOnCancelled block
  else
    getOnCancelled
  end
end

#on_failed(&block) ⇒ Object



1436
1437
1438
1439
1440
1441
1442
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1436

def on_failed(&block)
  if block_given?
    setOnFailed block
  else
    getOnFailed
  end
end

#on_ready(&block) ⇒ Object



1450
1451
1452
1453
1454
1455
1456
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1450

def on_ready(&block)
  if block_given?
    setOnReady block
  else
    getOnReady
  end
end

#on_running(&block) ⇒ Object



1415
1416
1417
1418
1419
1420
1421
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1415

def on_running(&block)
  if block_given?
    setOnRunning block
  else
    getOnRunning
  end
end

#on_scheduled(&block) ⇒ Object



1443
1444
1445
1446
1447
1448
1449
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1443

def on_scheduled(&block)
  if block_given?
    setOnScheduled block
  else
    getOnScheduled
  end
end

#on_succeeded(&block) ⇒ Object



1422
1423
1424
1425
1426
1427
1428
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1422

def on_succeeded(&block)
  if block_given?
    setOnSucceeded block
  else
    getOnSucceeded
  end
end