public class DesktopWindow
extends java.lang.Object
Constructor and Description |
---|
DesktopWindow(WinDef.HWND hwnd,
java.lang.String title,
java.lang.String filePath,
java.awt.Rectangle locAndSize) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilePath() |
WinDef.HWND |
getHWND() |
java.awt.Rectangle |
getLocAndSize() |
java.lang.String |
getTitle() |
public DesktopWindow(WinDef.HWND hwnd, java.lang.String title, java.lang.String filePath, java.awt.Rectangle locAndSize)
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.public WinDef.HWND getHWND()
public java.lang.String getTitle()
public java.lang.String getFilePath()
public java.awt.Rectangle getLocAndSize()