Class WindowInfo


  • @ThreadSafe
    public final class WindowInfo
    extends java.lang.Object
    Utility to query desktop windows
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private WindowInfo()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<OSDesktopWindow> queryDesktopWindows​(boolean visibleOnly)
      Gets windows on the operating system's GUI desktop.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WindowInfo

        private WindowInfo()
    • Method Detail

      • queryDesktopWindows

        public static java.util.List<OSDesktopWindow> queryDesktopWindows​(boolean visibleOnly)
        Gets windows on the operating system's GUI desktop.
        Parameters:
        visibleOnly - Whether to restrict the list to only windows visible to the user.
        Returns:
        A list of OSDesktopWindow objects representing the desktop windows.