|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectapps.remotecontrol.networkmanager.managers.syncmanager.SyncManager
public class SyncManager
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 |
|---|
public static final short SYNC_ITEM_ANGLE
public static final short SYNC_ITEM_CLEAR_PAD
public static final short SYNC_ITEM_DRAW_DATA
public static final short SYNC_ITEM_LOCATION_X
public static final short SYNC_ITEM_LOCATION_Y
public static final short SYNC_ITEM_LOCATION_Z
public static final short SYNC_ITEM_SCALE
public static final short SYNC_ITEM_SORTORDER
| Constructor Detail |
|---|
public SyncManager(NetworkedContentManager networkManager)
networkManager - the network manager| Method Detail |
|---|
public void addSyncListeners(ContentItem item)
item - the itempublic void fireItemMoved(ContentItem item)
item - the itempublic void fireItemRotated(ContentItem item)
item - the itempublic void fireItemScaled(ContentItem item)
item - the itempublic void registerSyncTable(TableIdentity tableId)
tableId - the table idpublic void unregisterContentItem(ContentItem item)
item - the itempublic void unregisterSyncTable(TableIdentity tableId)
tableId - the table idpublic void update()
public void updateSyncData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||