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, setValueAtprotected 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 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)
public void toggleSelection(int row)
public boolean isSelected(int row)
Copyright © 2021. All rights reserved.