public class ScopeEventHandler extends Object implements EventHandler
| Modifier and Type | Field and Description |
|---|---|
protected ScopeServices |
services |
| Constructor and Description |
|---|
ScopeEventHandler(ScopeServices services) |
| Modifier and Type | Method and Description |
|---|---|
void |
onConsoleMessage(ConsoleLoggerProtos.ConsoleMessage message)
Fired on new console messages.
|
void |
onDesktopWindowActivated(DesktopWmProtos.DesktopWindowInfo info)
Fired when a window becomes active (steals focus).
|
void |
onDesktopWindowClosed(DesktopWmProtos.DesktopWindowInfo info)
Fired when a window instance is closed.
|
void |
onDesktopWindowLoaded(DesktopWmProtos.DesktopWindowInfo info)
Fired when loading Finished event.
|
void |
onDesktopWindowPageChanged(DesktopWmProtos.DesktopWindowInfo info) |
void |
onDesktopWindowShown(DesktopWmProtos.DesktopWindowInfo info)
Fired when a desktop window is shown at the last possible moment so the window should be fully
visible.
|
void |
onDesktopWindowUpdated(DesktopWmProtos.DesktopWindowInfo info)
Fired when a new window is created or window has incoming changes (such as title change).
|
void |
onHttpResponse(int responseCode)
Fired when an HTTP response code is received.
|
void |
onOperaIdle()
Fired when Opera is idle.
|
void |
onQuickMenuClosed(DesktopWmProtos.QuickMenuID menuId)
Fired when menu closed.
|
void |
onQuickMenuItemPressed(DesktopWmProtos.QuickMenuItemID menuItemID)
Fired when menu item is pressed.
|
void |
onQuickMenuShown(DesktopWmProtos.QuickMenuInfo menuInfoShown)
Fired when menu shown.
|
void |
onReadyStateChange(EcmascriptProtos.ReadyStateChange change)
Fired when the ready state of a document is communicated.
|
void |
onRequest(int windowId) |
void |
onRuntimeStarted(EsdbgProtos.RuntimeInfo info)
Fired when a new runtime started is received Runtime-started is needed for tracking EcmaScript
injections.
|
void |
onRuntimeStopped(Integer id)
Remove any runtime that has been stopped.
|
void |
onSelftestDone()
Fired when all selftests are done.
|
void |
onSelftestResult(SelftestProtos.SelftestResult result)
Fired when receiving the output of a selftest.
|
void |
onWindowActivated(Integer id)
Changes the window-manager's active window on active window event.
|
void |
onWindowClosed(Integer id)
Handles windows that have been closed.
|
void |
onWindowLoaded(int windowId)
Fired when a window load is complete.
|
void |
onWindowUpdated(WmProtos.WindowInfo info)
Fired when a new window is created or window has incoming changes (such as title change).
|
protected ScopeServices services
public ScopeEventHandler(ScopeServices services)
public void onRuntimeStopped(Integer id)
onRuntimeStopped in interface EventHandlerid - ID of the runtime is stoppedpublic void onRequest(int windowId)
onRequest in interface EventHandlerpublic void onWindowActivated(Integer id)
onWindowActivated in interface EventHandlerid - ID of the window that becomes activepublic void onWindowClosed(Integer id)
onWindowClosed in interface EventHandlerid - ID of the closed windowpublic void onWindowLoaded(int windowId)
EventHandleronWindowLoaded in interface EventHandlerwindowId - ID of the window that is loadedpublic void onOperaIdle()
EventHandleronOperaIdle in interface EventHandlerpublic void onRuntimeStarted(EsdbgProtos.RuntimeInfo info)
EventHandleronRuntimeStarted in interface EventHandlerinfo - information on the runtime that was startedpublic void onWindowUpdated(WmProtos.WindowInfo info)
EventHandleronWindowUpdated in interface EventHandlerinfo - information about the windowpublic void onConsoleMessage(ConsoleLoggerProtos.ConsoleMessage message)
EventHandleronConsoleMessage in interface EventHandlermessage - the incoming messagepublic void onHttpResponse(int responseCode)
EventHandleronHttpResponse in interface EventHandlerresponseCode - the response codepublic void onReadyStateChange(EcmascriptProtos.ReadyStateChange change)
EventHandleronReadyStateChange in interface EventHandlerchange - the ready state changepublic void onDesktopWindowShown(DesktopWmProtos.DesktopWindowInfo info)
EventHandleronDesktopWindowShown in interface EventHandlerinfo - information about the windowpublic void onDesktopWindowUpdated(DesktopWmProtos.DesktopWindowInfo info)
EventHandleronDesktopWindowUpdated in interface EventHandlerinfo - information about the window that is updatedpublic void onDesktopWindowActivated(DesktopWmProtos.DesktopWindowInfo info)
EventHandleronDesktopWindowActivated in interface EventHandlerinfo - information about the window that is activatedpublic void onDesktopWindowClosed(DesktopWmProtos.DesktopWindowInfo info)
EventHandleronDesktopWindowClosed in interface EventHandlerinfo - information about the window that is closedpublic void onDesktopWindowLoaded(DesktopWmProtos.DesktopWindowInfo info)
EventHandleronDesktopWindowLoaded in interface EventHandlerinfo - information about the window that is loadedpublic void onDesktopWindowPageChanged(DesktopWmProtos.DesktopWindowInfo info)
onDesktopWindowPageChanged in interface EventHandlerpublic void onQuickMenuShown(DesktopWmProtos.QuickMenuInfo menuInfoShown)
EventHandleronQuickMenuShown in interface EventHandlermenuInfoShown - menu information of the recently appeared menupublic void onQuickMenuClosed(DesktopWmProtos.QuickMenuID menuId)
EventHandleronQuickMenuClosed in interface EventHandlermenuId - ID of the recently closed menupublic void onQuickMenuItemPressed(DesktopWmProtos.QuickMenuItemID menuItemID)
EventHandleronQuickMenuItemPressed in interface EventHandlermenuItemID - ID of the menu item that was pressedpublic void onSelftestResult(SelftestProtos.SelftestResult result)
EventHandleronSelftestResult in interface EventHandlerresult - the output of the selftestpublic void onSelftestDone()
EventHandleronSelftestDone in interface EventHandlerCopyright © 2013. All Rights Reserved.