We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java_import Java::javafx.beans.binding.StringBinding class RubyStringBinding < StringBinding def initialize(property:, method:) super() @property, @method = property, method bind @property end def computeValue property_value = @property.get return unless property_value property_value.__send__ @method end end
The Java bindings provided from Bindings assumes Java reflective lookup so they cannot see our Ruby methods...
The text was updated successfully, but these errors were encountered:
I should also point out that StringBinding is just some convenience methods on a type-erased type.
abstract StringBinding implements Binding<String>
so I think we can make a single binding to rule them all but we might not be able to leverage one of their abstract classes (unsure about that).
Sorry, something went wrong.
No branches or pull requests
The Java bindings provided from Bindings assumes Java reflective lookup so they cannot see our Ruby methods...
The text was updated successfully, but these errors were encountered: