|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JavaScriptExecutor
An event loop to execute all the JavaScript jobs.
| Method Summary | |
|---|---|
void |
addWindow(WebWindow newWindow)
Register a window with the eventLoop. |
int |
pumpEventLoop(long timeoutMillis)
Executes the jobs in the eventLoop till timeoutMillis expires or the eventLoop becomes empty. |
void |
shutdown()
Notes that this thread has been shutdown. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
void addWindow(WebWindow newWindow)
newWindow - the new web windowvoid shutdown()
int pumpEventLoop(long timeoutMillis)
timeoutMillis - the timeout in milliseconds
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||