Constructor and Description |
---|
DummyOSUtil() |
Modifier and Type | Method and Description |
---|---|
void |
bringWindowToFront(java.awt.Window win,
boolean ignoreMouse) |
int |
closeApp(int pid) |
int |
closeApp(java.lang.String appName) |
Region |
getFocusedWindow() |
Region |
getWindow(int pid) |
Region |
getWindow(int pid,
int winNum) |
Region |
getWindow(java.lang.String appName) |
Region |
getWindow(java.lang.String appName,
int winNum) |
int |
openApp(java.lang.String appName) |
void |
setWindowOpacity(java.awt.Window win,
float alpha) |
void |
setWindowOpaque(java.awt.Window win,
boolean opaque) |
int |
switchApp(int pid,
int num) |
int |
switchApp(java.lang.String appName) |
int |
switchApp(java.lang.String appName,
int winNum) |
public int switchApp(java.lang.String appName)
public int switchApp(java.lang.String appName, int winNum)
public Region getWindow(java.lang.String appName)
public Region getWindow(java.lang.String appName, int winNum)
public Region getFocusedWindow()
getFocusedWindow
in interface OSUtil
public void setWindowOpacity(java.awt.Window win, float alpha)
setWindowOpacity
in interface OSUtil
public void setWindowOpaque(java.awt.Window win, boolean opaque)
setWindowOpaque
in interface OSUtil
public void bringWindowToFront(java.awt.Window win, boolean ignoreMouse)
bringWindowToFront
in interface OSUtil