|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
arules.TrActTable
public class TrActTable
Class for a tabular representation of a set of transactions.
Field Summary | |
---|---|
protected TrActSet |
taset
the set of transactions |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
TrActTable(TrActSet taset)
Create a transaction table. |
Method Summary | |
---|---|
int |
getColumnCount()
Get the number of columns of the table. |
java.lang.String |
getColumnName(int i)
Get the name of a column. |
int |
getRowCount()
Get the number of rows of the table. |
TrActSet |
getTrActs()
Get the transactions. |
java.lang.Object |
getValueAt(int row,
int col)
Get the value in a table cell. |
static void |
main(java.lang.String[] args)
Main function for testing some basic functionality. |
void |
setTrActs(TrActSet taset)
Set the transactions. |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TrActSet taset
Constructor Detail |
---|
public TrActTable(TrActSet taset)
taset
- the set of transactionsMethod Detail |
---|
public TrActSet getTrActs()
public void setTrActs(TrActSet taset)
taset
- the new transaction setpublic int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int i)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
i
- the index of the column
public java.lang.Object getValueAt(int row, int col)
row
- the row index of the table cellcol
- the column index of the table cell
public static void main(java.lang.String[] args)
It is tried to parse the file that is given as the first command line argument as a set of transactions.
args
- the command line arguments
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |