Package com.sun.jna.platform
Class DesktopWindow
java.lang.Object
com.sun.jna.platform.DesktopWindow
Holds some general information about a window.
- Author:
- Andreas "PAX" Lück, onkelpax-git[at]yahoo.de
-
Constructor Summary
ConstructorsConstructorDescriptionDesktopWindow
(WinDef.HWND hwnd, String title, String filePath, Rectangle locAndSize) -
Method Summary
-
Constructor Details
-
DesktopWindow
- Parameters:
hwnd
- The associated window handle for this window.title
- The title text of the window.filePath
- The full file path to the main process that created the window.locAndSize
- The window's location on screen and its dimensions.
-
-
Method Details
-
getHWND
- Returns:
- The associated window handle for this window.
-
getTitle
- Returns:
- The title text of the window.
-
getFilePath
- Returns:
- The full file path to the main process that created the window.
-
getLocAndSize
- Returns:
- The window's location on screen and its dimensions.
-