|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectapps.mathpadapp.conceptmapping.GraphNode
apps.mathpadapp.controllerapp.tablecontroller.RemoteDesktop
apps.mathpadapp.controllerapp.tablecontroller.MathPadRemoteDesktop
public class MathPadRemoteDesktop
The Class MathPadRemoteDesktop.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class apps.mathpadapp.conceptmapping.GraphNode |
---|
GraphNode.ConceptMapListener |
Constructor Summary | |
---|---|
MathPadRemoteDesktop(ContentSystem contentSystem,
NetworkedContentManager networkManager)
Instantiates a new math pad remote desktop. |
Method Summary | |
---|---|
void |
addDataSourceListener(DataSourceListener listener)
Adds the data source listener. |
void |
addRemoteMathPad(UserIdentity userId,
MathTool mathTool)
Adds the remote math pad. |
void |
addRemoteMathPads(java.util.HashMap<UserIdentity,MathTool> mathTools)
Adds the remote math pads. |
void |
createSyncRenderer()
Creates the sync renderer. |
java.util.HashMap<UserIdentity,MathTool> |
getOnlineMathTools()
Gets the online math tools. |
void |
projectorFound(TableIdentity tableId,
boolean isLeaseSuccessful)
Projector found. |
void |
remoteDesktopContentReceived(TableIdentity tableId,
java.util.HashMap<UserIdentity,MathToolInitSettings> items)
Remote desktop content received. |
void |
removeAllMathPads()
Removes the all math pads. |
void |
removeDataSourceListener(DataSourceListener listener)
Removes the data source listener. |
void |
removeDataSourceListeners()
Removes the data source listeners. |
void |
removeMathPadItem(UserIdentity userId)
Removes the math pad item. |
void |
resultsReceivedFromUser(TableIdentity tableId,
UserIdentity userId,
AssignmentInfo assignInfo)
Results received from user. |
void |
setTitle(java.lang.String title)
Sets the title. |
void |
syncDataReceived(TableIdentity sender,
java.util.HashMap<UserIdentity,java.util.HashMap<java.lang.Short,java.lang.Object>> mathPadSyncData)
Sync data received. |
void |
tableIdReceived(TableIdentity tableId)
Table id received. |
void |
userIdsReceived(TableIdentity tableId,
java.util.List<UserIdentity> userIds)
User ids received. |
void |
userMathPadReceived(TableIdentity tableId,
UserIdentity userId,
MathToolInitSettings mathToolSettings)
User math pad received. |
void |
userRegistrationReceived(TableIdentity tableId,
UserIdentity userId)
User registration received. |
void |
userUnregistrationReceived(TableIdentity tableId,
UserIdentity userId)
User unregistration received. |
Methods inherited from class apps.mathpadapp.controllerapp.tablecontroller.RemoteDesktop |
---|
addOnlineItem, addOnlineItems, getDesktopWindow, getOnlineItems, getSyncRenderer, getTableId, removeOnlineItem, removeOnlineItems, setSyncRenderer, setTableId, updateNode |
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 |
---|
public MathPadRemoteDesktop(ContentSystem contentSystem, NetworkedContentManager networkManager)
contentSystem
- the content systemnetworkManager
- the network managerMethod Detail |
---|
public void addDataSourceListener(DataSourceListener listener)
listener
- the listenerpublic void addRemoteMathPad(UserIdentity userId, MathTool mathTool)
userId
- the user idmathTool
- the math toolpublic void addRemoteMathPads(java.util.HashMap<UserIdentity,MathTool> mathTools)
mathTools
- the math toolspublic void createSyncRenderer()
RemoteDesktop
createSyncRenderer
in class RemoteDesktop
public java.util.HashMap<UserIdentity,MathTool> getOnlineMathTools()
public void projectorFound(TableIdentity tableId, boolean isLeaseSuccessful)
ControllerManager.ControllerNetworkListener
projectorFound
in interface ControllerManager.ControllerNetworkListener
tableId
- the table idisLeaseSuccessful
- the is lease successfulpublic void remoteDesktopContentReceived(TableIdentity tableId, java.util.HashMap<UserIdentity,MathToolInitSettings> items)
ControllerManager.ControllerNetworkListener
remoteDesktopContentReceived
in interface ControllerManager.ControllerNetworkListener
tableId
- the table iditems
- the itemspublic void removeAllMathPads()
public void removeDataSourceListener(DataSourceListener listener)
listener
- the listenerpublic void removeDataSourceListeners()
public void removeMathPadItem(UserIdentity userId)
userId
- the user idpublic void resultsReceivedFromUser(TableIdentity tableId, UserIdentity userId, AssignmentInfo assignInfo)
ControllerManager.ControllerNetworkListener
resultsReceivedFromUser
in interface ControllerManager.ControllerNetworkListener
tableId
- the table iduserId
- the user idassignInfo
- the assign infopublic void setTitle(java.lang.String title)
title
- the new titlepublic void syncDataReceived(TableIdentity sender, java.util.HashMap<UserIdentity,java.util.HashMap<java.lang.Short,java.lang.Object>> mathPadSyncData)
ControllerManager.ControllerNetworkListener
syncDataReceived
in interface ControllerManager.ControllerNetworkListener
sender
- the sendermathPadSyncData
- the math pad sync datapublic void tableIdReceived(TableIdentity tableId)
ControllerManager.ControllerNetworkListener
tableIdReceived
in interface ControllerManager.ControllerNetworkListener
tableId
- the table idpublic void userIdsReceived(TableIdentity tableId, java.util.List<UserIdentity> userIds)
ControllerManager.ControllerNetworkListener
userIdsReceived
in interface ControllerManager.ControllerNetworkListener
tableId
- the table iduserIds
- the user idspublic void userMathPadReceived(TableIdentity tableId, UserIdentity userId, MathToolInitSettings mathToolSettings)
ControllerManager.ControllerNetworkListener
userMathPadReceived
in interface ControllerManager.ControllerNetworkListener
tableId
- the table iduserId
- the user idmathToolSettings
- the math tool settingspublic void userRegistrationReceived(TableIdentity tableId, UserIdentity userId)
ControllerManager.ControllerNetworkListener
userRegistrationReceived
in interface ControllerManager.ControllerNetworkListener
tableId
- the table iduserId
- the user idpublic void userUnregistrationReceived(TableIdentity tableId, UserIdentity userId)
ControllerManager.ControllerNetworkListener
userUnregistrationReceived
in interface ControllerManager.ControllerNetworkListener
tableId
- the table iduserId
- the user id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |