|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opera.core.systems.scope.handlers.AbstractEventHandler
com.opera.core.systems.EventHandler
public class EventHandler
Provides an interface to the Scope protocol.
| Field Summary | |
|---|---|
protected ScopeServices |
services
|
| Constructor Summary | |
|---|---|
EventHandler(ScopeServices services)
|
|
| Method Summary | |
|---|---|
void |
onActiveWindow(java.lang.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)
|
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)
|
void |
onRequest(int windowId)
|
void |
onRuntimeStarted(EsdbgProtos.RuntimeInfo started)
Fired when a new runtime started is received Runtime-started is needed for tracking ecmascript injections |
void |
onRuntimeStopped(java.lang.Integer id)
Remove any runtime that has been stopped. |
void |
onSelftestDone()
|
void |
onSelftestOutput(SelftestProtos.SelftestOutput output)
|
void |
onUpdatedWindow(WmProtos.WindowInfo window)
Fired when a new window is created or window has incoming changes (such as title change) |
void |
onWindowClosed(java.lang.Integer id)
Handles windows that have been closed. |
void |
onWindowLoaded(int windowId)
Fired when a window is loaded |
| Methods inherited from class com.opera.core.systems.scope.handlers.AbstractEventHandler |
|---|
parseHeader |
| 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 EventHandler(ScopeServices services)
| Method Detail |
|---|
public void onActiveWindow(java.lang.Integer id)
onActiveWindow in class AbstractEventHandlerpublic void onRuntimeStopped(java.lang.Integer id)
onRuntimeStopped in class AbstractEventHandlerpublic void onRequest(int windowId)
onRequest in class AbstractEventHandlerpublic void onWindowClosed(java.lang.Integer id)
onWindowClosed in class AbstractEventHandlerpublic void onWindowLoaded(int windowId)
onWindowLoaded in class AbstractEventHandlerwindowId - ID of the window that fired the eventpublic void onOperaIdle()
onOperaIdle in class AbstractEventHandlerpublic void onRuntimeStarted(EsdbgProtos.RuntimeInfo started)
AbstractEventHandler
onRuntimeStarted in class AbstractEventHandlerpublic void onUpdatedWindow(WmProtos.WindowInfo window)
AbstractEventHandler
onUpdatedWindow in class AbstractEventHandlerpublic void onMessage(ConsoleLoggerProtos.ConsoleMessage message)
AbstractEventHandler
onMessage in class AbstractEventHandlerpublic void onHttpResponse(int responseCode)
onHttpResponse in class AbstractEventHandlerpublic void onReadyStateChange(EcmascriptProtos.ReadyStateChange change)
onReadyStateChange in class AbstractEventHandlerpublic void onDesktopWindowShown(DesktopWmProtos.DesktopWindowInfo info)
AbstractEventHandler
onDesktopWindowShown in class AbstractEventHandlerpublic void onDesktopWindowUpdated(DesktopWmProtos.DesktopWindowInfo info)
AbstractEventHandler
onDesktopWindowUpdated in class AbstractEventHandlerpublic void onDesktopWindowActivated(DesktopWmProtos.DesktopWindowInfo info)
AbstractEventHandler
onDesktopWindowActivated in class AbstractEventHandlerpublic void onDesktopWindowClosed(DesktopWmProtos.DesktopWindowInfo info)
AbstractEventHandler
onDesktopWindowClosed in class AbstractEventHandlerpublic void onDesktopWindowLoaded(DesktopWmProtos.DesktopWindowInfo info)
AbstractEventHandler
onDesktopWindowLoaded in class AbstractEventHandlerpublic void onQuickMenuShown(DesktopWmProtos.QuickMenuInfo menuInfoShown)
AbstractEventHandler
onQuickMenuShown in class AbstractEventHandlerpublic void onQuickMenuClosed(DesktopWmProtos.QuickMenuID menuId)
AbstractEventHandler
onQuickMenuClosed in class AbstractEventHandlerpublic void onQuickMenuItemPressed(DesktopWmProtos.QuickMenuItemID menuItemID)
AbstractEventHandler
onQuickMenuItemPressed in class AbstractEventHandlerpublic void onSelftestOutput(SelftestProtos.SelftestOutput output)
onSelftestOutput in class AbstractEventHandlerpublic void onSelftestDone()
onSelftestDone in class AbstractEventHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||