Wrapper for events that occur on a javafx Window