Public way to monitor JavaFX Windows
hastebrot at gmail.com
Tue Nov 25 14:39:32 UTC 2014
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
On 11/25/14, Matthieu BROUILLARD <matthieu at brouillard.fr> 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
> If there is not a public API, I'll create a JIRA for this.
More information about the openjfx-dev