SalesPoint Framework v3.0

data.swing
Class DefaultStockItemTED

java.lang.Object
  |
  +--util.swing.AbstractTableEntryDescriptor
        |
        +--data.swing.DefaultStockItemTED

public class DefaultStockItemTED
extends AbstractTableEntryDescriptor

A TableEntryDescriptor that can be used with a StoringStockTableModel.

There will be exactly one column headed "Name" and displaying the items' names.

Since:
v2.0
Version:
2.0 23/08/1999
Author:
Steffen Zschaler
See Also:
Serialized Form

Constructor Summary
DefaultStockItemTED()
           
 
Method Summary
 Class getColumnClass(int nIdx)
           
 int getColumnCount()
           
 String getColumnName(int nIdx)
           
 Object getValueAt(Object oData, int nIdx)
           
 
Methods inherited from class util.swing.AbstractTableEntryDescriptor
canSortByColumn, getCellEditor, getCellRenderer, getColumnOrder, isElementEditable, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultStockItemTED

public DefaultStockItemTED()
Method Detail

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 name of the StockItem.

SalesPoint Framework v3.0