ch.unifr.pai.twice.multipointer.client
Class WebsocketControl

java.lang.Object
  extended by ch.unifr.pai.twice.multipointer.client.MultiCursorController
      extended by ch.unifr.pai.twice.multipointer.client.WebsocketControl
All Implemented Interfaces:
com.google.gwt.event.logical.shared.ResizeHandler, com.google.gwt.event.shared.EventHandler

Deprecated.

@Deprecated
public class WebsocketControl
extends MultiCursorController
implements com.google.gwt.event.logical.shared.ResizeHandler

Use ExtendedWebsocketControl instead

Author:
Oliver Schmid

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

opened

private boolean opened
Deprecated. 

websocket

private com.google.gwt.core.client.JavaScriptObject websocket
Deprecated. 

cursors

private final java.util.List<MouseCursor> cursors
Deprecated. 

assignedMouseCursors

private final java.util.Map<java.lang.String,MouseCursor> assignedMouseCursors
Deprecated. 

preferredMouseCursors

private final java.util.Map<java.lang.String,MouseCursor> preferredMouseCursors
Deprecated. 

activeCursorsCounter

private final java.util.Set<MouseCursor> activeCursorsCounter
Deprecated. 

storage

private final com.google.gwt.storage.client.Storage storage
Deprecated. 

maxCursorsOnScreen

private final int maxCursorsOnScreen
Deprecated. 
See Also:
Constant Field Values

r

com.google.gwt.event.shared.HandlerRegistration r
Deprecated. 
Constructor Detail

WebsocketControl

public WebsocketControl()
Deprecated. 
Method Detail

initializeCursorList

private void initializeCursorList()
Deprecated. 

getCursorByColor

private MouseCursor getCursorByColor(java.lang.String color)
Deprecated. 

defineMouseCursor

private MouseCursor defineMouseCursor(java.lang.String cursor,
                                      java.lang.String color)
Deprecated. 

isInIFrame

public boolean isInIFrame()
Deprecated. 

start

public void start()
Deprecated. 
Description copied from class: MultiCursorController
Start the execution of the component

Overrides:
start in class MultiCursorController

stop

public void stop()
Deprecated. 
Description copied from class: MultiCursorController
Stop the execution of the component

Overrides:
stop in class MultiCursorController

send

private void send(com.google.gwt.core.client.JavaScriptObject websocket,
                  java.lang.String message)
Deprecated. 

createOnBeforeUnloadHandler

private com.google.gwt.core.client.JavaScriptObject createOnBeforeUnloadHandler(com.google.gwt.core.client.JavaScriptObject websocket)
Deprecated. 

stopWebsocket

private com.google.gwt.core.client.JavaScriptObject stopWebsocket(com.google.gwt.core.client.JavaScriptObject websocket)
Deprecated. 

createWebsocket

private com.google.gwt.core.client.JavaScriptObject createWebsocket(WebsocketControl w,
                                                                    java.lang.String url)
Deprecated. 

onMessage

private void onMessage(java.lang.String data)
Deprecated. 

getOrCreateCursor

private MouseCursor getOrCreateCursor(java.lang.String uuid)
Deprecated. 

onOpen

private void onOpen()
Deprecated. 

onClose

private void onClose()
Deprecated. 

onResize

public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
Deprecated. 
Specified by:
onResize in interface com.google.gwt.event.logical.shared.ResizeHandler

notifyCursor

public void notifyCursor(java.lang.String uuid,
                         java.lang.String action)
Deprecated. 
Description copied from class: MultiCursorController
Notify the cursor with the given unique identifier about a given action

Overrides:
notifyCursor in class MultiCursorController