public class MappingRulesModel
extends javax.swing.table.AbstractTableModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<java.beans.ExceptionListener> |
listeners
List of listeners
|
Constructor and Description |
---|
MappingRulesModel(SRX srx)
Creates a new instance of MappingRulesModel
|
Modifier and Type | Method and Description |
---|---|
void |
addExceptionListener(java.beans.ExceptionListener l) |
int |
addRow()
Adds a new empty mapping rule.
|
void |
fireException(java.lang.Exception e) |
java.lang.Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int column) |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
moveRowDown(int row)
Moves a mapping rule down an order.
|
void |
moveRowUp(int row)
Moves a mapping rule up an order.
|
void |
removeExceptionListener(java.beans.ExceptionListener l) |
void |
removeRow(int row)
Removes a mapping rule.
|
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
protected java.util.List<java.beans.ExceptionListener> listeners
public MappingRulesModel(SRX srx)
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
public int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int column)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
public java.lang.Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public int addRow()
public void removeRow(int row)
public void moveRowUp(int row)
public void moveRowDown(int row)
public void addExceptionListener(java.beans.ExceptionListener l)
public void removeExceptionListener(java.beans.ExceptionListener l)
public void fireException(java.lang.Exception e)