Append a child and set its parent to this widget.
The widget's last-known bounds. Read-only; see setBounds/getBounds.
The child widgets, in z/insertion order. Read-only; see addChild.
Deterministically tear the widget down: dispose children, detach from the parent, destroy the native window, unregister it, and release the GC root. Idempotent — safe to call more than once.
The widget's last-known bounds.
The widget's client area (origin at 0,0). Empty if not yet created.
The widget's preferred size, used by the layout engine for non-stretching (proportion 0) items. The base widget has no intrinsic size; controls override this.
The native window handle this widget owns (null until created).
Hide the widget.
Request a repaint of the whole widget.
Whether the widget currently accepts input.
The widget this one is parented to, if any. Read-only; see addChild.
Handle a window message routed from the master window procedure.
Raw handle accessor for subclasses and the backend.
Associate this widget's freshly-created HWND with the dispatch machinery and pin it as a GC root. Call once, immediately after handle is set.
Remove a child and clear its parent link. Unknown children are ignored.
Move/resize the widget, updating the native window if it exists.
Enable or disable input for the widget.
Give the widget keyboard focus.
Set visibility, updating the native window if it exists.
Make the widget visible.
Whether the widget is currently visible. Read-only; see setVisible.
Cached bounds (window-relative for children, screen-relative for windows).
Child widgets, in z/insertion order.
The native window handle this widget owns (null until created).
The widget this one is parented to, if any.
Cached visibility flag.
Abstract base for everything that owns a native window.