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



1327
1328
1329
1330
1331
1332
1333
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1327

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

#on_failed(&block) ⇒ Object



1334
1335
1336
1337
1338
1339
1340
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1334

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

#on_ready(&block) ⇒ Object



1320
1321
1322
1323
1324
1325
1326
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1320

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

#on_running(&block) ⇒ Object



1341
1342
1343
1344
1345
1346
1347
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1341

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

#on_scheduled(&block) ⇒ Object



1348
1349
1350
1351
1352
1353
1354
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1348

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

#on_succeeded(&block) ⇒ Object



1355
1356
1357
1358
1359
1360
1361
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1355

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