apps.mathpadapp.controllerapp.tablecontroller
Class RemoteDesktop

java.lang.Object
  extended by apps.mathpadapp.conceptmapping.GraphNode
      extended by apps.mathpadapp.controllerapp.tablecontroller.RemoteDesktop
Direct Known Subclasses:
MathPadRemoteDesktop

public abstract class RemoteDesktop
extends GraphNode

The Class RemoteDesktop.


Nested Class Summary
 
Nested classes/interfaces inherited from class apps.mathpadapp.conceptmapping.GraphNode
GraphNode.ConceptMapListener
 
Constructor Summary
RemoteDesktop(ContentSystem contentSystem, NetworkedContentManager networkManager)
          Instantiates a new remote desktop.
 
Method Summary
 void addOnlineItem(ContentItem item)
          Adds the online item.
 void addOnlineItems(java.util.List<ContentItem> items)
          Adds the online items.
abstract  void createSyncRenderer()
          Creates the sync renderer.
 Window getDesktopWindow()
          Gets the desktop window.
 java.util.List<ContentItem> getOnlineItems()
          Gets the online items.
 SyncRenderer getSyncRenderer()
          Gets the sync renderer.
 TableIdentity getTableId()
          Gets the table id.
 void removeOnlineItem(ContentItem item)
          Removes the online item.
 void removeOnlineItems()
          Removes the online items.
 void setSyncRenderer(SyncRenderer syncRenderer)
          Sets the sync renderer.
 void setTableId(TableIdentity tableId)
          Sets the table id.
 void updateNode()
          Update node.
 
Methods inherited from class apps.mathpadapp.conceptmapping.GraphNode
addConceptMapListener, fireNodeConnected, fireNodeDisconnected, getClosePoint, getGraphManager, getIncomingLinks, getLinkPoint, getLocation, getName, getNodeItem, getOutgoingLinks, isLinkable, registerIncomingLink, registerOutgoingLink, remove, removeConceptMapListeners, setClosePoint, setLinkable, setLinkPoint, setLocation, unregisterAllLinks, unregisterLink, updateConnectionPoints
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteDesktop

public RemoteDesktop(ContentSystem contentSystem,
                     NetworkedContentManager networkManager)
Instantiates a new remote desktop.

Parameters:
contentSystem - the content system
networkManager - the network manager
Method Detail

addOnlineItem

public void addOnlineItem(ContentItem item)
Adds the online item.

Parameters:
item - the item

addOnlineItems

public void addOnlineItems(java.util.List<ContentItem> items)
Adds the online items.

Parameters:
items - the items

createSyncRenderer

public abstract void createSyncRenderer()
Creates the sync renderer.


getDesktopWindow

public Window getDesktopWindow()
Gets the desktop window.

Returns:
the desktop window

getOnlineItems

public java.util.List<ContentItem> getOnlineItems()
Gets the online items.

Returns:
the online items

getSyncRenderer

public SyncRenderer getSyncRenderer()
Gets the sync renderer.

Returns:
the sync renderer

getTableId

public TableIdentity getTableId()
Gets the table id.

Returns:
the table id

removeOnlineItem

public void removeOnlineItem(ContentItem item)
Removes the online item.

Parameters:
item - the item

removeOnlineItems

public void removeOnlineItems()
Removes the online items.


setSyncRenderer

public void setSyncRenderer(SyncRenderer syncRenderer)
Sets the sync renderer.

Parameters:
syncRenderer - the new sync renderer

setTableId

public void setTableId(TableIdentity tableId)
Sets the table id.

Parameters:
tableId - the new table id

updateNode

public void updateNode()
Update node.