Class: FireChangeObjectProperty

Inherits:
Object
  • Object
show all
Defined in:
lib/jruby_visualizer/compiler_data.rb

Overview

JavaFX Property that fires always when the set method is called

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ FireChangeObjectProperty

Returns a new instance of FireChangeObjectProperty.



24
25
26
27
# File 'lib/jruby_visualizer/compiler_data.rb', line 24

def initialize(*args)
  raise ArgumentError.new "wrong number of arguments (#{args.length} for 3)" if args.length > 3
  super
end

Instance Method Details

#set(new_val) ⇒ Object



29
30
31
32
# File 'lib/jruby_visualizer/compiler_data.rb', line 29

def set(new_val)
  super(new_val)
  fire_value_changed_event
end