Class: JavaFXImpl::FinisherInterface

Inherits:
Object
  • Object
show all
Includes:
PlatformImpl::FinishListener
Defined in:
lib/jrubyfx/java_fx_impl.rb

Overview

JRuby, you make me have to create real classes!

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ FinisherInterface

Returns a new instance of FinisherInterface.


31
32
33
# File 'lib/jrubyfx/java_fx_impl.rb', line 31

def initialize(&block)
  @exitBlock = block
end

Instance Method Details

#exitCalledObject


39
40
41
# File 'lib/jrubyfx/java_fx_impl.rb', line 39

def exitCalled()
  @exitBlock.call
end

#idle(someBoolean) ⇒ Object


35
36
37
# File 'lib/jrubyfx/java_fx_impl.rb', line 35

def idle(someBoolean)
  @exitBlock.call
end