public class HostPopupWindow extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HostPopupWindow.Rect |
Constructor and Description |
---|
HostPopupWindow(HostScreen screen)
Creates the host pop-up window analyzer.
|
Modifier and Type | Method and Description |
---|---|
void |
analyze()
This method analyzes the current host screen for pop-up windows.
|
void |
analyze(int minCX,
int minCY)
This method analyzes the current host screen for pop-up windows.
|
void |
deleteAllPopupWindows()
Deletes all current pop-up windows.
|
int |
getCount()
Gets the count of pop-up windows.
|
HostPopupWindow.Rect |
getCurrent()
Gets the current pop-up window rectangle or null if no current
rectangle exist.
|
int |
getCurrentXOffset()
Gets the current offset of the pop-up window in X.
|
int |
getCurrentYOffset()
Gets the current offset of the pop-up window in X.
|
HostPopupWindow.Rect |
getPopupWindow(int index)
Gets the pop-up window at an index.
|
boolean |
hasCurrentPopupWindow()
Checks if there is a current pop-up window defined.
|
boolean |
hasPopupWindows()
Checks if there are any pop-up windows defined.
|
void |
setCurrent(int index)
Sets a pop-up window as the current one.
|
public HostPopupWindow(HostScreen screen)
public int getCount()
public int getCurrentXOffset()
public int getCurrentYOffset()
public HostPopupWindow.Rect getCurrent()
public void setCurrent(int index)
public HostPopupWindow.Rect getPopupWindow(int index)
public boolean hasPopupWindows()
public boolean hasCurrentPopupWindow()
public void analyze()
public void analyze(int minCX, int minCY)
public void deleteAllPopupWindows()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.