Class PanelHandle

java.lang.Object
com.trevlar.menukit.window.WindowHandle
com.trevlar.menukit.window.PanelHandle

public final class PanelHandle extends WindowHandle
A typed handle on a panel itself — its own visibility, opacity, and inertness. All CLIENT-tier, MK-typed, resolved by the same engine and stored in the same address-keyed side-table as every other behavior (no separate panel-config system). A panel-level default cascades to the panel's child elements via the AXIS-2 specificity walk (their owner chain passes through this panel) unless a child overrides — so "inert-under" is an ordinary panel property, not a flag.
  • Method Details

    • visibility

      public PanelHandle visibility(VisibilityRule rule)
      Drive the whole panel's client visibility by a VisibilityRule (cascades to children).
    • visibility

      public PanelHandle visibility(boolean visible)
      Show/hide the whole panel on the client (constant rule).
    • opacity

      public PanelHandle opacity(TriBool opaque)
      Whether the panel is interaction-opaque (eats clicks over its bounds).
    • inertness

      public PanelHandle inertness(TriBool inertMaking)
      Whether the panel makes what it covers inert.