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