data.swing
Class DefaultCatalogItemDBETableEntryDescriptor
java.lang.Object
|
+--util.swing.AbstractTableEntryDescriptor
|
+--data.swing.DefaultCatalogItemDBETableEntryDescriptor
- public class DefaultCatalogItemDBETableEntryDescriptor
- extends AbstractTableEntryDescriptor
A TableEntryDescriptor
that can be used with a DataBasketTableModel
modelling
DataBasketEntries that describe operations on CatalogItems.
There will be exactly one column, headed "Name" and giving the key of the CatalogItem.
- Since:
- v2.0
- Version:
- 2.0 23/08/1999
- Author:
- Steffen Zschaler
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DefaultCatalogItemDBETableEntryDescriptor
public DefaultCatalogItemDBETableEntryDescriptor()
- Create a new DefaultCatalogItemDBETableEntryDescriptor.
getColumnCount
public int getColumnCount()
- Override:
- Sometimes.
- Returns:
- 1.
getColumnName
public String getColumnName(int nIdx)
- Override:
- Sometimes.
- Returns:
- "Name".
getColumnClass
public Class getColumnClass(int nIdx)
- Override:
- Sometimes.
- Returns:
String.class
.
getValueAt
public Object getValueAt(Object oData,
int nIdx)
- Override:
- Sometimes.
- Returns:
- the given CatalogItem's name.