Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
jvx:reference [2020/06/24 15:46] cduncan [More methods!] |
jvx:reference [2020/06/24 15:47] (current) cduncan [Fire away!] |
||
---|---|---|---|
Line 1978: | Line 1978: | ||
In [[https://sourceforge.net/projects/jvx/|JVx]] [[http://blog.sibvisions.com/2015/01/28/jvx-and-java-8-events-and-lambdas/|we reduced our listener interfaces to just one method (in a backward compatible way)]] to make sure all events can be used with lambdas. | In [[https://sourceforge.net/projects/jvx/|JVx]] [[http://blog.sibvisions.com/2015/01/28/jvx-and-java-8-events-and-lambdas/|we reduced our listener interfaces to just one method (in a backward compatible way)]] to make sure all events can be used with lambdas. | ||
- | ===== Fire away! ===== | + | ===== Fire Away! ===== |
- | That’s it for this short reference sheet, that is how our event system can and should be used. Of course, there is much more to it under the hood, for example listeners being wrapped in proxy classes, reflection used for invoking methods and some more stuff. If you feel adventurous, be my guest and have a good look at the internals of ''%%EventHandler%%'', it is quite an interesting read. | + | That’s it for this short reference sheet. This is how our event system can and should be used. Of course, there is much more to it under the hood (for example, listeners being wrapped in proxy classes, reflection used for invoking methods, etc.). If you feel adventurous, be my guest and have a good look at the internals of ''%%EventHandler%%''. It is quite an interesting read! |