Class EnumWindows

java.lang.Object
oshi.driver.windows.EnumWindows

@ThreadSafe public final class EnumWindows extends Object
Utility to query Desktop windows
  • Method Details

    • queryDesktopWindows

      public static 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.