Hi! TestFX uses `javafx.stage.Window.impl_getWindows()` to search nodes for user input simulation and state verification. I haven't spotted a public way to retrieve or even monitor windows or stages. Also: Searching for nodes within all windows simplifies tests for open popup window drastically in comparision to e.g. the FEST-Swing test framework.
--Benjamin On 11/25/14, Matthieu BROUILLARD <[email protected]> wrote: > Hi all, > > I'd like to know if there is a public way to monitor all "root" window > JavaFX objects (Window, Stage, PopupWindow). > > All what I have found until now is "private impl" > > - com.sun.javafx.stage.StageHelper.getStages(), observable but relevant > only for Stages > - javafx.stage.Window.impl_getWindows(), used inside ScenicView but not > listenable > > If there is not a public API, I'll create a JIRA for this. > > Matthieu >
