Package oshi.driver.mac
Class WindowInfo
java.lang.Object
oshi.driver.mac.WindowInfo
Utility to query desktop windows
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<OSDesktopWindow>
queryDesktopWindows
(boolean visibleOnly) Gets windows on the operating system's GUI desktop.
-
Method Details
-
queryDesktopWindows
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.
-