public class KitchenTableModel 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 |
---|
KitchenTableModel(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) |
boolean |
isSelected(int row) |
void |
removeRow(int row) |
void |
setRow(int index,
TicketLine oLine) |
void |
toggleSelection(int row) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
protected ColumnAttributes[] m_acolumns
protected Modifiers m_mod
public KitchenTableModel(AppView app, ColumnAttributes[] acolumns, Modifiers oMod)
public int getRowCount()
public int getColumnCount()
public String getColumnName(int column)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Object getValueAt(int row, int column)
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public 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)
public void toggleSelection(int row)
public boolean isSelected(int row)
Copyright © 2021. All rights reserved.