apps.remotecontrol.networkmanager.managers
Class TablePortalManager

java.lang.Object
  extended by apps.remotecontrol.networkmanager.managers.TablePortalManager
All Implemented Interfaces:
NetworkedContentManager.NetworkListener

public class TablePortalManager
extends java.lang.Object
implements NetworkedContentManager.NetworkListener

The Class TablePortalManager.


Method Summary
 void closeAll()
          Close all.
static TablePortalManager getInstance()
          Gets the single instance of TablePortalManager.
 TablePortal getTablePortal(java.lang.String id)
          Gets the table portal.
 TablePortal getTablePortalForTable(TableIdentity tableId)
          Gets the table portal for table.
 java.util.List<TablePortal> getTablePortals()
          Gets the table portals.
 void hideAll()
          Hide all.
 void messageReceived(java.lang.Object obj)
          Message received.
 void registerTablePortal(TablePortal tablePortal)
          Register table portal.
 void setNetworkedContentManager(NetworkedContentManager manager)
          Sets the networked content manager.
 void unregisterTablePortal(TablePortal tablePortal)
          Unregister table portal.
 void update(float tpf)
          Update.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TablePortalManager getInstance()
Gets the single instance of TablePortalManager.

Returns:
single instance of TablePortalManager

closeAll

public void closeAll()
Close all.


getTablePortal

public TablePortal getTablePortal(java.lang.String id)
Gets the table portal.

Parameters:
id - the id
Returns:
the table portal

getTablePortalForTable

public TablePortal getTablePortalForTable(TableIdentity tableId)
Gets the table portal for table.

Parameters:
tableId - the table id
Returns:
the table portal for table

getTablePortals

public java.util.List<TablePortal> getTablePortals()
Gets the table portals.

Returns:
the table portals

hideAll

public void hideAll()
Hide all.


messageReceived

public void messageReceived(java.lang.Object obj)
Description copied from interface: NetworkedContentManager.NetworkListener
Message received.

Specified by:
messageReceived in interface NetworkedContentManager.NetworkListener
Parameters:
obj - the obj

registerTablePortal

public void registerTablePortal(TablePortal tablePortal)
Register table portal.

Parameters:
tablePortal - the table portal

setNetworkedContentManager

public void setNetworkedContentManager(NetworkedContentManager manager)
Sets the networked content manager.

Parameters:
manager - the new networked content manager

unregisterTablePortal

public void unregisterTablePortal(TablePortal tablePortal)
Unregister table portal.

Parameters:
tablePortal - the table portal

update

public void update(float tpf)
Update.

Parameters:
tpf - the tpf