com.cosylab.vdct.db
Class DBSheetData

java.lang.Object
  extended by com.cosylab.vdct.db.DBSheetData
All Implemented Interfaces:
DsEventListener

public class DBSheetData
extends java.lang.Object
implements DsEventListener

Author:
ssah

Field Summary
protected static java.util.HashMap instances
           
 
Method Summary
 void add(DBSheetView record)
           
 DBSheetView get(java.lang.String key)
          Returns the record with the given key, or null if there is no such record.
static DBSheetData getInstance(java.lang.Object dsId)
           
 java.util.Iterator getRecords()
           
 void onDsAdded(java.lang.Object id)
           
 void onDsFocused(java.lang.Object id)
           
 void onDsRemoved(java.lang.Object id)
           
static void registerDsListener()
           
 void remove(java.lang.String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

protected static java.util.HashMap instances
Method Detail

getInstance

public static DBSheetData getInstance(java.lang.Object dsId)

add

public void add(DBSheetView record)

get

public DBSheetView get(java.lang.String key)
Returns the record with the given key, or null if there is no such record.


remove

public void remove(java.lang.String key)

getRecords

public java.util.Iterator getRecords()

registerDsListener

public static void registerDsListener()

onDsAdded

public void onDsAdded(java.lang.Object id)
Specified by:
onDsAdded in interface DsEventListener

onDsRemoved

public void onDsRemoved(java.lang.Object id)
Specified by:
onDsRemoved in interface DsEventListener

onDsFocused

public void onDsFocused(java.lang.Object id)
Specified by:
onDsFocused in interface DsEventListener