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.



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

def initialize(&block)
  @exitBlock = block
end

Instance Method Details

#exitCalledObject



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

def exitCalled()
  @exitBlock.call
end

#idle(someBoolean) ⇒ Object



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

def idle(someBoolean)
  @exitBlock.call
end