apps.remotecontrol.networkmanager.managers.syncmanager
Class SyncManager

java.lang.Object
  extended by apps.remotecontrol.networkmanager.managers.syncmanager.SyncManager

public class SyncManager
extends java.lang.Object

The Class SyncManager.


Field Summary
static short SYNC_ITEM_ANGLE
          The Constant SYNC_ITEM_ANGLE.
static short SYNC_ITEM_CLEAR_PAD
          The Constant SYNC_ITEM_CLEAR_PAD.
static short SYNC_ITEM_DRAW_DATA
          The Constant SYNC_ITEM_DRAW_DATA.
static short SYNC_ITEM_LOCATION_X
          The Constant SYNC_ITEM_LOCATION_X.
static short SYNC_ITEM_LOCATION_Y
          The Constant SYNC_ITEM_LOCATION_Y.
static short SYNC_ITEM_LOCATION_Z
          The Constant SYNC_ITEM_LOCATION_Z.
static short SYNC_ITEM_SCALE
          The Constant SYNC_ITEM_SCALE.
static short SYNC_ITEM_SORTORDER
          The Constant SYNC_ITEM_SORTORDER.
 
Constructor Summary
SyncManager(NetworkedContentManager networkManager)
          Instantiates a new sync manager.
 
Method Summary
 void addSyncListeners(ContentItem item)
          Adds the sync listeners.
 void fireItemMoved(ContentItem item)
          Fire item moved.
 void fireItemRotated(ContentItem item)
          Fire item rotated.
 void fireItemScaled(ContentItem item)
          Fire item scaled.
 void registerSyncTable(TableIdentity tableId)
          Register sync table.
 void unregisterContentItem(ContentItem item)
          Unregister content item.
 void unregisterSyncTable(TableIdentity tableId)
          Unregister sync table.
 void update()
          Update.
 void updateSyncData()
          Update sync data.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYNC_ITEM_ANGLE

public static final short SYNC_ITEM_ANGLE
The Constant SYNC_ITEM_ANGLE.

See Also:
Constant Field Values

SYNC_ITEM_CLEAR_PAD

public static final short SYNC_ITEM_CLEAR_PAD
The Constant SYNC_ITEM_CLEAR_PAD.

See Also:
Constant Field Values

SYNC_ITEM_DRAW_DATA

public static final short SYNC_ITEM_DRAW_DATA
The Constant SYNC_ITEM_DRAW_DATA.

See Also:
Constant Field Values

SYNC_ITEM_LOCATION_X

public static final short SYNC_ITEM_LOCATION_X
The Constant SYNC_ITEM_LOCATION_X.

See Also:
Constant Field Values

SYNC_ITEM_LOCATION_Y

public static final short SYNC_ITEM_LOCATION_Y
The Constant SYNC_ITEM_LOCATION_Y.

See Also:
Constant Field Values

SYNC_ITEM_LOCATION_Z

public static final short SYNC_ITEM_LOCATION_Z
The Constant SYNC_ITEM_LOCATION_Z.

See Also:
Constant Field Values

SYNC_ITEM_SCALE

public static final short SYNC_ITEM_SCALE
The Constant SYNC_ITEM_SCALE.

See Also:
Constant Field Values

SYNC_ITEM_SORTORDER

public static final short SYNC_ITEM_SORTORDER
The Constant SYNC_ITEM_SORTORDER.

See Also:
Constant Field Values
Constructor Detail

SyncManager

public SyncManager(NetworkedContentManager networkManager)
Instantiates a new sync manager.

Parameters:
networkManager - the network manager
Method Detail

addSyncListeners

public void addSyncListeners(ContentItem item)
Adds the sync listeners.

Parameters:
item - the item

fireItemMoved

public void fireItemMoved(ContentItem item)
Fire item moved.

Parameters:
item - the item

fireItemRotated

public void fireItemRotated(ContentItem item)
Fire item rotated.

Parameters:
item - the item

fireItemScaled

public void fireItemScaled(ContentItem item)
Fire item scaled.

Parameters:
item - the item

registerSyncTable

public void registerSyncTable(TableIdentity tableId)
Register sync table.

Parameters:
tableId - the table id

unregisterContentItem

public void unregisterContentItem(ContentItem item)
Unregister content item.

Parameters:
item - the item

unregisterSyncTable

public void unregisterSyncTable(TableIdentity tableId)
Unregister sync table.

Parameters:
tableId - the table id

update

public void update()
Update.


updateSyncData

public void updateSyncData()
Update sync data.