public interface Browser
extends java.lang.AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isReady() |
void |
load(java.net.URL url)
Load a new page in the browser.
|
void |
reload(boolean ignoreCache)
Reload the current page.
|
void |
sendMouseClickEvent(int x,
int y,
boolean mouseUp,
int clickCount) |
void |
sendMouseMoveEvent(int x,
int y,
boolean mouseLeave) |
void |
sendMouseWheelEvent(int x,
int y,
int deltaX,
int deltaY) |
void |
wasResized() |
boolean isReady()
void close()
close in interface java.lang.AutoCloseablevoid wasResized()
void sendMouseMoveEvent(int x,
int y,
boolean mouseLeave)
void sendMouseWheelEvent(int x,
int y,
int deltaX,
int deltaY)
void sendMouseClickEvent(int x,
int y,
boolean mouseUp,
int clickCount)
void reload(boolean ignoreCache)
ignoreCache - if true, any cached data will be ignoredvoid load(java.net.URL url)
url - the URL to load in the browser.