apps.mathpadapp.networkmanager.managers.syncmanager
Class MathToolSyncRenderer

java.lang.Object
  extended by apps.mathpadapp.networkmanager.managers.syncmanager.SyncRenderer
      extended by apps.mathpadapp.networkmanager.managers.syncmanager.MathToolSyncRenderer

public class MathToolSyncRenderer
extends SyncRenderer

The Class MathToolSyncRenderer.


Field Summary
static short SYNC_ANSWER_PAD_DISPLAYED
          The Constant SYNC_ANSWER_PAD_DISPLAYED.
static short SYNC_BACKGROUND_COLOR
          The Constant SYNC_BACKGROUND_COLOR.
static short SYNC_DRAW_DATA
          The Constant SYNC_DRAW_DATA.
static short SYNC_LINE_WIDTH
          The Constant SYNC_LINE_WIDTH.
static short SYNC_NEW_PAD
          The Constant SYNC_NEW_PAD.
static short SYNC_PAD_CHANGED
          The Constant SYNC_PAD_CHANGED.
static short SYNC_PAD_CLEARED
          The Constant SYNC_PAD_CLEARED.
static short SYNC_PAD_DELETED
          The Constant SYNC_PAD_DELETED.
static short SYNC_PAD_REMOVED
          The Constant SYNC_PAD_REMOVED.
static short SYNC_SEPARATOR_STATE
          The Constant SYNC_SEPARATOR_STATE.
static short SYNC_TEXT_COLOR
          The Constant SYNC_TEXT_COLOR.
static short SYNC_WRITING_STATE
          The Constant SYNC_WRITING_STATE.
 
Fields inherited from class apps.mathpadapp.networkmanager.managers.syncmanager.SyncRenderer
SYNC_ANGLE, SYNC_LOCATION_X, SYNC_LOCATION_Y, SYNC_ORDER, SYNC_SCALE
 
Constructor Summary
MathToolSyncRenderer(SyncManager syncManager)
          Instantiates a new math tool sync renderer.
 
Method Summary
 void renderSyncData(UserIdentity userId, MathTool tool, java.util.HashMap<java.lang.Short,java.lang.Object> syncData)
          Render sync data.
 
Methods inherited from class apps.mathpadapp.networkmanager.managers.syncmanager.SyncRenderer
disableSyncParameter, enableSyncParameter, renderSyncData, renderSyncData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYNC_ANSWER_PAD_DISPLAYED

public static final short SYNC_ANSWER_PAD_DISPLAYED
The Constant SYNC_ANSWER_PAD_DISPLAYED.

See Also:
Constant Field Values

SYNC_BACKGROUND_COLOR

public static final short SYNC_BACKGROUND_COLOR
The Constant SYNC_BACKGROUND_COLOR.

See Also:
Constant Field Values

SYNC_DRAW_DATA

public static final short SYNC_DRAW_DATA
The Constant SYNC_DRAW_DATA.

See Also:
Constant Field Values

SYNC_LINE_WIDTH

public static final short SYNC_LINE_WIDTH
The Constant SYNC_LINE_WIDTH.

See Also:
Constant Field Values

SYNC_NEW_PAD

public static final short SYNC_NEW_PAD
The Constant SYNC_NEW_PAD.

See Also:
Constant Field Values

SYNC_PAD_CHANGED

public static final short SYNC_PAD_CHANGED
The Constant SYNC_PAD_CHANGED.

See Also:
Constant Field Values

SYNC_PAD_CLEARED

public static final short SYNC_PAD_CLEARED
The Constant SYNC_PAD_CLEARED.

See Also:
Constant Field Values

SYNC_PAD_DELETED

public static final short SYNC_PAD_DELETED
The Constant SYNC_PAD_DELETED.

See Also:
Constant Field Values

SYNC_PAD_REMOVED

public static final short SYNC_PAD_REMOVED
The Constant SYNC_PAD_REMOVED.

See Also:
Constant Field Values

SYNC_SEPARATOR_STATE

public static final short SYNC_SEPARATOR_STATE
The Constant SYNC_SEPARATOR_STATE.

See Also:
Constant Field Values

SYNC_TEXT_COLOR

public static final short SYNC_TEXT_COLOR
The Constant SYNC_TEXT_COLOR.

See Also:
Constant Field Values

SYNC_WRITING_STATE

public static final short SYNC_WRITING_STATE
The Constant SYNC_WRITING_STATE.

See Also:
Constant Field Values
Constructor Detail

MathToolSyncRenderer

public MathToolSyncRenderer(SyncManager syncManager)
Instantiates a new math tool sync renderer.

Parameters:
syncManager - the sync manager
Method Detail

renderSyncData

public void renderSyncData(UserIdentity userId,
                           MathTool tool,
                           java.util.HashMap<java.lang.Short,java.lang.Object> syncData)
Render sync data.

Parameters:
userId - the user id
tool - the tool
syncData - the sync data