com.rubecula.spreadsheet
Class CellTable
java.lang.Object
|
+--java.util.AbstractMap
|
+--java.util.HashMap
|
+--com.rubecula.spreadsheet.CellTable
- All Implemented Interfaces:
- java.lang.Cloneable, Lookupable, java.util.Map, java.io.Serializable
- public class CellTable
- extends java.util.HashMap
- implements Lookupable
An instance of this class represents a table of QuantityCell objects.
Split off from TableModel
- Since:
- V_0_1
- Version:
- $Revision: 1.4 $
- Author:
- Robin Hillyard
- See Also:
- Serialized Form
| Nested classes inherited from class java.util.HashMap |
|
| Nested classes inherited from class java.util.AbstractMap |
|
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Fields inherited from class java.util.HashMap |
|
| Fields inherited from class java.util.AbstractMap |
|
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
CellTable
public CellTable()
put
public void put(java.lang.String key,
QuantityCell cell)
put
public void put(java.lang.String key,
java.lang.Object object)
getCell
public QuantityCell getCell(java.lang.String key)
getKeys
public java.util.Iterator getKeys()
getValue
public Presentable getValue(java.lang.String name)
throws PresentableException
- Method to lookup a cell by name and return it's presentable value.
- Specified by:
getValue in interface Lookupable
- Parameters:
name - the name or key to be looked up.
- Returns:
- a Presentable value corresponding to the current value of name.
- Throws:
PresentableException - when name is not recognized