|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opera.core.systems.scope.handlers.ScopeEventHandler
public class ScopeEventHandler
Provides an event handler to the Scope protocol.
| Field Summary | |
|---|---|
protected ScopeServices |
services
|
| Constructor Summary | |
|---|---|
ScopeEventHandler(ScopeServices services)
|
|
| Method Summary | |
|---|---|
void |
onActiveWindow(Integer id)
Changes the window-manager's active window on active window event. |
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 |
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 |
onMessage(ConsoleLoggerProtos.ConsoleMessage message)
Fired on new console messages. |
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 |
onSelftestOutput(SelftestProtos.SelftestOutput output)
Fired when receiving the output of a selftest. |
void |
onUpdatedWindow(WmProtos.WindowInfo info)
Fired when a new window is created or window has incoming changes (such as title change). |
void |
onWindowClosed(Integer id)
Handles windows that have been closed. |
void |
onWindowLoaded(int windowId)
Fired when a window load is complete. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ScopeServices services
| Constructor Detail |
|---|
public ScopeEventHandler(ScopeServices services)
| Method Detail |
|---|
public void onActiveWindow(Integer id)
onActiveWindow in interface EventHandlerid - ID of the window that becomes activepublic void onRuntimeStopped(Integer id)
onRuntimeStopped in interface EventHandlerid - ID of the runtime is stoppedpublic void onRequest(int windowId)
onRequest in interface EventHandlerpublic void onWindowClosed(Integer id)
onWindowClosed in interface EventHandlerid - ID of the closed windowpublic void onWindowLoaded(int windowId)
EventHandler
onWindowLoaded in interface EventHandlerwindowId - ID of the window that is loadedpublic void onOperaIdle()
EventHandler
onOperaIdle in interface EventHandlerpublic void onRuntimeStarted(EsdbgProtos.RuntimeInfo info)
EventHandler
onRuntimeStarted in interface EventHandlerinfo - information on the runtime that was startedpublic void onUpdatedWindow(WmProtos.WindowInfo info)
EventHandler
onUpdatedWindow in interface EventHandlerinfo - information about the windowpublic void onMessage(ConsoleLoggerProtos.ConsoleMessage message)
EventHandler
onMessage in interface EventHandlermessage - the incoming messagepublic void onHttpResponse(int responseCode)
EventHandler
onHttpResponse in interface EventHandlerresponseCode - the response codepublic void onReadyStateChange(EcmascriptProtos.ReadyStateChange change)
EventHandler
onReadyStateChange in interface EventHandlerchange - the ready state changepublic void onDesktopWindowShown(DesktopWmProtos.DesktopWindowInfo info)
EventHandler
onDesktopWindowShown in interface EventHandlerinfo - information about the windowpublic void onDesktopWindowUpdated(DesktopWmProtos.DesktopWindowInfo info)
EventHandler
onDesktopWindowUpdated in interface EventHandlerinfo - information about the window that is updatedpublic void onDesktopWindowActivated(DesktopWmProtos.DesktopWindowInfo info)
EventHandler
onDesktopWindowActivated in interface EventHandlerinfo - information about the window that is activatedpublic void onDesktopWindowClosed(DesktopWmProtos.DesktopWindowInfo info)
EventHandler
onDesktopWindowClosed in interface EventHandlerinfo - information about the window that is closedpublic void onDesktopWindowLoaded(DesktopWmProtos.DesktopWindowInfo info)
EventHandler
onDesktopWindowLoaded in interface EventHandlerinfo - information about the window that is loadedpublic void onQuickMenuShown(DesktopWmProtos.QuickMenuInfo menuInfoShown)
EventHandler
onQuickMenuShown in interface EventHandlermenuInfoShown - menu information of the recently appeared menupublic void onQuickMenuClosed(DesktopWmProtos.QuickMenuID menuId)
EventHandler
onQuickMenuClosed in interface EventHandlermenuId - ID of the recently closed menupublic void onQuickMenuItemPressed(DesktopWmProtos.QuickMenuItemID menuItemID)
EventHandler
onQuickMenuItemPressed in interface EventHandlermenuItemID - ID of the menu item that was pressedpublic void onSelftestOutput(SelftestProtos.SelftestOutput output)
EventHandler
onSelftestOutput in interface EventHandleroutput - the output of the selftestpublic void onSelftestDone()
EventHandler
onSelftestDone in interface EventHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||