jrubyfx
jrubyfx copied to clipboard
JavaFX JRuby binding
it should be the other way around ``` ruby @location.text = "blah" ``` complains that @location does nt have text= method because its a URL when in a controller class
I just hacked this for drag_event.rb: ``` ruby tmc = enum_converter(Java::javafx::scene::input::TransferMode) converter_for :accept_transfer_modes, &tmc # FIXME: For non-dsl calls like this we want converter logic alias :accept_transfer_modes_orig :accept_transfer_modes def accept_transfer_modes(*values)...
``` > jfxObject.enum_prop = :enum_value > jfxObject.enum_prop == :enum_value false > jfxObject.enum_prop == EnumType::EnumValue true ``` This is the current behavior pattern of enums. We need to override comparisons so...
Lots of classes are opaque except for oracle documentation. override `.inspect` to make it easier to see what is available