Package uno.anahata.asi.swing.internal


package uno.anahata.asi.swing.internal
Internal Swing utilities and bridge components for Anahata ASI.

This package provides the low-level "plumbing" required to maintain architectural integrity within a Swing environment. It includes lifecycle-aware listeners, background task orchestrators, and native screen capture utilities.

Key Infrastructure:

  • SwingUtils: A comprehensive utility class for EDT management, component discovery, and image processing.
  • EdtPropertyChangeListener: A sophisticated, hierarchy-aware listener that bridges domain events to the EDT while preventing memory leaks in dynamic UIs.
  • SwingTask: A functional wrapper around SwingWorker that standardizes background execution and error handling.
  • UICapture: The native bridge for multi-screen and window-level vision.
Author:
anahata
  • Class
    Description
    A utility DocumentListener that fires a single callback for any type of document change (insert or remove).
    A smart, lifecycle-aware PropertyChangeListener that ensures UI updates occur on the Event Dispatch Thread (EDT).
    The execution mode for thread switching.
    A robust, high-performance background task execution unit for the Anahata ASI.
    A centralized registry for tracking active SwingTask instances.
    A collection of general-purpose Swing utility methods, primarily for image manipulation and UI component creation.
    A native-aware utility for capturing visual snapshots of the host's desktop environment and individual Swing frames.