com.sciapp.table.cache
Class DefaultTreeTableCache
java.lang.Object
com.sciapp.table.cache.AbstractCache
com.sciapp.table.cache.AbstractTreeTableCache
com.sciapp.table.cache.DefaultTreeTableCache
- All Implemented Interfaces:
- Cache, TreeTableCache
public class DefaultTreeTableCache
- extends AbstractTreeTableCache
DefaultTreeTableCache assumes that the row objects are an Object array.
Therefore, the getObjectAt method casts the supplied object to an array
and returns the element specified by the column parameter.
Method Summary |
Object |
getObjectAt(Object rowObject,
int column)
Returns the Object found at column of row
passed as a parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTreeTableCache
public DefaultTreeTableCache(CacheableTreeTableModel model)
- Creates a DefaultTreeTableCache.
DefaultTreeTableCache
public DefaultTreeTableCache(CacheableTreeTableModel model,
int chunkSize,
int maximumCacheSize)
- Creates a DefaultTreeTableCache.
getObjectAt
public Object getObjectAt(Object rowObject,
int column)
- Returns the Object found at column of row
passed as a parameter.
- Specified by:
getObjectAt
in class AbstractTreeTableCache
- Parameters:
rowObject
- the row datacolumn
- an index
- Returns:
- the object found at column of the row data row