public class ProcessorSettingsTableModel extends javax.swing.table.AbstractTableModel implements NetworkObjectListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
columnNames |
static java.lang.String[] |
rowNames |
static java.util.Set<java.lang.String> |
typeDouble |
static java.util.Set<java.lang.String> |
typeMethod |
static java.util.Set<java.lang.String> |
typeNeg |
Constructor and Description |
---|
ProcessorSettingsTableModel(GUIHandler hgui,
Processor proc) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getColumnClass(int column) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
int |
getRowCount() |
java.lang.Object |
getValueAt(int row,
int column) |
boolean |
isCellEditable(int row,
int column) |
void |
networkObjectChange(NetworkObject object,
java.lang.Object oldvalue,
int eventID,
java.lang.Object caller) |
void |
removeListener() |
void |
setValueAt(java.lang.Object value,
int row,
int column) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public static final java.lang.String[] columnNames
public static final java.lang.String[] rowNames
public static final java.util.Set<java.lang.String> typeDouble
public static final java.util.Set<java.lang.String> typeNeg
public static final java.util.Set<java.lang.String> typeMethod
public ProcessorSettingsTableModel(GUIHandler hgui, Processor proc)
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int row, int column)
getValueAt
in interface javax.swing.table.TableModel
public java.lang.Class getColumnClass(int column)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object value, int row, int column)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int row, int column)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void networkObjectChange(NetworkObject object, java.lang.Object oldvalue, int eventID, java.lang.Object caller)
networkObjectChange
in interface NetworkObjectListener
public void removeListener()