Is there a already working mehtod of selfreferencing in javafx just like "this." in Java?
I believe you can use [b]this[/b] just like in Java... have you tried [b]this [/b]and it failed?
No this doesn't work that way anymore. But in know how it apperently can work. you need to define 'var self' (no colon!), this reference to the calling object itself - but it is of the type Object, you then need to typecast it and can work with it via (self as ..TypeofFile).
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.