Class MappingRulesModel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.table.TableModel

    public class MappingRulesModel
    extends javax.swing.table.AbstractTableModel
    Table Model for Sets of segmentation rules.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MappingRulesModel​(SRX srx)
      Creates a new instance of MappingRulesModel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class javax.swing.table.AbstractTableModel

        addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MappingRulesModel

        public MappingRulesModel​(SRX srx)
        Creates a new instance of MappingRulesModel
    • Method Detail

      • getValueAt

        public java.lang.Object getValueAt​(int rowIndex,
                                           int columnIndex)
      • getRowCount

        public int getRowCount()
      • getColumnCount

        public int getColumnCount()
      • getColumnName

        public java.lang.String getColumnName​(int column)
        Specified by:
        getColumnName in interface javax.swing.table.TableModel
        Overrides:
        getColumnName in class javax.swing.table.AbstractTableModel
      • isCellEditable

        public boolean isCellEditable​(int rowIndex,
                                      int columnIndex)
        Specified by:
        isCellEditable in interface javax.swing.table.TableModel
        Overrides:
        isCellEditable in class javax.swing.table.AbstractTableModel
      • setValueAt

        public void setValueAt​(java.lang.Object aValue,
                               int rowIndex,
                               int columnIndex)
        Specified by:
        setValueAt in interface javax.swing.table.TableModel
        Overrides:
        setValueAt in class javax.swing.table.AbstractTableModel
      • getColumnClass

        public java.lang.Class<?> getColumnClass​(int columnIndex)
        Specified by:
        getColumnClass in interface javax.swing.table.TableModel
        Overrides:
        getColumnClass in class javax.swing.table.AbstractTableModel
      • addRow

        public int addRow()
        Adds a new empty mapping rule.
      • removeRow

        public void removeRow​(int row)
        Removes a mapping rule.
      • moveRowUp

        public void moveRowUp​(int row)
        Moves a mapping rule up an order.
      • moveRowDown

        public void moveRowDown​(int row)
        Moves a mapping rule down an order.
      • addExceptionListener

        public void addExceptionListener​(java.beans.ExceptionListener l)
      • removeExceptionListener

        public void removeExceptionListener​(java.beans.ExceptionListener l)
      • fireException

        public void fireException​(java.lang.Exception e)