Class: Java::JavafxConcurrent::Task

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


1282
1283
1284
1285
1286
1287
1288
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1282

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

#on_failed(&block) ⇒ Object


1289
1290
1291
1292
1293
1294
1295
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1289

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

#on_running(&block) ⇒ Object


1296
1297
1298
1299
1300
1301
1302
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1296

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

#on_scheduled(&block) ⇒ Object


1303
1304
1305
1306
1307
1308
1309
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1303

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

#on_succeeded(&block) ⇒ Object


1310
1311
1312
1313
1314
1315
1316
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 1310

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