apps.mathpadapp.controllerapp.projectorcontroller
Interface DataSourceListener

All Known Implementing Classes:
ProjectorNode

public interface DataSourceListener

The listener interface for receiving dataSource events. The class that is interested in processing a dataSource event implements this interface, and the object created with that class is registered with a component using the component's addDataSourceListener method. When the dataSource event occurs, that object's appropriate method is invoked.

See Also:
DataSourceEvent

Method Summary
 void sourceDataUpdated(TableIdentity tableId, java.util.HashMap<UserIdentity,MathToolInitSettings> items)
          Invoked when source data update occurs.
 void syncDataReceived(TableIdentity tableId, java.util.HashMap<UserIdentity,java.util.HashMap<java.lang.Short,java.lang.Object>> syncData)
          Sync data received.
 

Method Detail

sourceDataUpdated

void sourceDataUpdated(TableIdentity tableId,
                       java.util.HashMap<UserIdentity,MathToolInitSettings> items)
Invoked when source data update occurs.

Parameters:
tableId - the table id
items - the items

syncDataReceived

void syncDataReceived(TableIdentity tableId,
                      java.util.HashMap<UserIdentity,java.util.HashMap<java.lang.Short,java.lang.Object>> syncData)
Sync data received.

Parameters:
tableId - the table id
syncData - the sync data