file: Window.aus

class: Window

[27:7] extends: FxObj

The Window class wraps javafx.stage.Window, the base class for every top-level JavaFX window surface (Stage and, through PopupWindow and PopupControl, ContextMenu and Tooltip). It provides the on-screen geometry (x, y, width, height), opacity, focus and showing state, the backing scene, arbitrary user data, the show/hide lifecycle event handlers, and the render scaling settings. This wrapper is not constructed directly. Concrete window types extend it, mirroring the JavaFX inheritance model, and set this.obj in their own constructors. The event handler and filter methods (addEventHandler, addEventFilter, removeEventHandler, removeEventFilter) and fireEvent are wrapped below; they take an EventType obtained with fx.eventType(...), for example fx.eventType(fxevent.WINDOW_SHOWING). The event-dispatcher internals (getEventDispatcher, setEventDispatcher, buildEventDispatchChain) are intentionally not wrapped here; they are advanced routing hooks rarely used from application code.

Methods