public class TicketTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected ColumnAttributes[] |
m_acolumns |
protected Modifiers |
m_mod |
protected ArrayList<String[]> |
m_rows |
listenerList| Constructor and Description |
|---|
TicketTableModel(AppView app,
ColumnAttributes[] acolumns,
Modifiers oMod) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRow(TicketLine oLine) |
void |
clear() |
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
void |
insertRow(int index,
TicketLine oLine) |
boolean |
isCellEditable(int row,
int column) |
void |
removeRow(int row) |
void |
setRow(int index,
TicketLine oLine) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAtprotected ColumnAttributes[] m_acolumns
protected Modifiers m_mod
public TicketTableModel(AppView app, ColumnAttributes[] acolumns, Modifiers oMod)
public int getRowCount()
public int getColumnCount()
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic Object getValueAt(int row, int column)
public boolean isCellEditable(int row,
int column)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic void clear()
public void setRow(int index,
TicketLine oLine)
public void addRow(TicketLine oLine)
public void insertRow(int index,
TicketLine oLine)
public void removeRow(int row)
Copyright © 2021. All rights reserved.