|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.unifr.pai.twice.multipointer.client.MultiCursorController ch.unifr.pai.twice.multipointer.client.WebsocketControl
@Deprecated public class WebsocketControl
Use ExtendedWebsocketControl
instead
Field Summary | |
---|---|
private java.util.Set<MouseCursor> |
activeCursorsCounter
Deprecated. |
private java.util.Map<java.lang.String,MouseCursor> |
assignedMouseCursors
Deprecated. |
private java.util.List<MouseCursor> |
cursors
Deprecated. |
private int |
maxCursorsOnScreen
Deprecated. |
private boolean |
opened
Deprecated. |
private java.util.Map<java.lang.String,MouseCursor> |
preferredMouseCursors
Deprecated. |
(package private) com.google.gwt.event.shared.HandlerRegistration |
r
Deprecated. |
private com.google.gwt.storage.client.Storage |
storage
Deprecated. |
private com.google.gwt.core.client.JavaScriptObject |
websocket
Deprecated. |
Constructor Summary | |
---|---|
WebsocketControl()
Deprecated. |
Method Summary | |
---|---|
private com.google.gwt.core.client.JavaScriptObject |
createOnBeforeUnloadHandler(com.google.gwt.core.client.JavaScriptObject websocket)
Deprecated. |
private com.google.gwt.core.client.JavaScriptObject |
createWebsocket(WebsocketControl w,
java.lang.String url)
Deprecated. |
private MouseCursor |
defineMouseCursor(java.lang.String cursor,
java.lang.String color)
Deprecated. |
private MouseCursor |
getCursorByColor(java.lang.String color)
Deprecated. |
private MouseCursor |
getOrCreateCursor(java.lang.String uuid)
Deprecated. |
private void |
initializeCursorList()
Deprecated. |
boolean |
isInIFrame()
Deprecated. |
void |
notifyCursor(java.lang.String uuid,
java.lang.String action)
Deprecated. Notify the cursor with the given unique identifier about a given action |
private void |
onClose()
Deprecated. |
private void |
onMessage(java.lang.String data)
Deprecated. |
private void |
onOpen()
Deprecated. |
void |
onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
Deprecated. |
private void |
send(com.google.gwt.core.client.JavaScriptObject websocket,
java.lang.String message)
Deprecated. |
void |
start()
Deprecated. Start the execution of the component |
void |
stop()
Deprecated. Stop the execution of the component |
private com.google.gwt.core.client.JavaScriptObject |
stopWebsocket(com.google.gwt.core.client.JavaScriptObject websocket)
Deprecated. |
Methods inherited from class ch.unifr.pai.twice.multipointer.client.MultiCursorController |
---|
getColorNative, getInstance, getMaxCursorsOnScreen, getUUID, isDefaultCursor, setMaxCursorsOnScreen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean opened
private com.google.gwt.core.client.JavaScriptObject websocket
private final java.util.List<MouseCursor> cursors
private final java.util.Map<java.lang.String,MouseCursor> assignedMouseCursors
private final java.util.Map<java.lang.String,MouseCursor> preferredMouseCursors
private final java.util.Set<MouseCursor> activeCursorsCounter
private final com.google.gwt.storage.client.Storage storage
private final int maxCursorsOnScreen
com.google.gwt.event.shared.HandlerRegistration r
Constructor Detail |
---|
public WebsocketControl()
Method Detail |
---|
private void initializeCursorList()
private MouseCursor getCursorByColor(java.lang.String color)
private MouseCursor defineMouseCursor(java.lang.String cursor, java.lang.String color)
public boolean isInIFrame()
public void start()
MultiCursorController
start
in class MultiCursorController
public void stop()
MultiCursorController
stop
in class MultiCursorController
private void send(com.google.gwt.core.client.JavaScriptObject websocket, java.lang.String message)
private com.google.gwt.core.client.JavaScriptObject createOnBeforeUnloadHandler(com.google.gwt.core.client.JavaScriptObject websocket)
private com.google.gwt.core.client.JavaScriptObject stopWebsocket(com.google.gwt.core.client.JavaScriptObject websocket)
private com.google.gwt.core.client.JavaScriptObject createWebsocket(WebsocketControl w, java.lang.String url)
private void onMessage(java.lang.String data)
private MouseCursor getOrCreateCursor(java.lang.String uuid)
private void onOpen()
private void onClose()
public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
onResize
in interface com.google.gwt.event.logical.shared.ResizeHandler
public void notifyCursor(java.lang.String uuid, java.lang.String action)
MultiCursorController
notifyCursor
in class MultiCursorController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |