I’m finding myself needing a better understanding of JavaFX UI event handling and my basic JavaFX books seem to ignore most of that aspect of the system. It looks as if the wiring of UI events is buried deep enough and the handling is automated enough that most of the time there’s no need to directly interact with events.
I need to perform an action when a given UI panel is exposed after being hidden…a simple enough activity in most cases. I expect I’ll find the right controls soon enough, just a bit surprised that they’re not talked about as directly as I’m used to.
Looking as if the easy route to this may be to name the top level pane in a given area and then attach a ‘show’ handler to that pane. Hoping this works as this would make it pretty easy to do what I need to get done.
Some links that I’m recording for later convenience (some just interesting here not directly relevant):
- Java Platform, Standard Edition (Java SE) 8 : JavaFX
- Working with JavaFX Charts
- Getting Started with JavaFX 3D Graphics
- JavaFX: Handling Events
- JavaFX: Handling Events – 1 Processing Events
- JavaFX: Handling Events – 2 Working with Convenience Methods
- JavaFX: Handling Events – 3 Working with Event Filters
- JavaFX: Handling Events – 4 Working with Event Handlers
- JavaFX: Handling Events – 5 Working with Events from Touch-Enabled Devices
- JavaFX: Handling Events – 6 Working with Touch Events
- JavaFX: Working with the JavaFX Scene Graph
- JavaFX 8 API Overview
- JavaFX CSS Reference Guide
The charting and 3D API items are of interest, but not part of this, but I’m trying to keep notes on where things were found so that I can go back and dig deeper later…a small amount of clutter for convenience…