public class Cursor extends Object
| Constructor and Description |
|---|
Cursor(Desktop desktop)
constructs a cursor that calls against the given desktop.
|
| Modifier and Type | Method and Description |
|---|---|
Point |
getPosition()
Returns the position of the current cursor.
|
String |
getType()
Returns the type of the current cursor.
|
void |
wait(String type,
int timeout)
Waits up to timeout milliseconds for the specified cursor type to appear.
|
public Cursor(Desktop desktop)
desktop - the desktop to use
public String getType()
public Point getPosition()
public void wait(String type, int timeout)
type - the type of cursor to wait fortimeout - the maximum time to wait (in milliseconds)
Copyright 2009-2012 Micro Focus. All Rights Reserved.