Class DBDDialog.TableModel

    • Constructor Detail

      • TableModel

        public TableModel()
    • Method Detail

      • getColumnCount

        public int getColumnCount()
        getColumnCount method comment.
        Returns:
        something
      • getRowCount

        public int getRowCount()
        getRowCount method comment.
        Returns:
        the number of rows in the model.
      • getValueAt

        public Object getValueAt​(int row,
                                 int column)
        Returns an attribute value for the cell at row and column.
        Parameters:
        row - the row whose value is to be looked up
        column - the column whose value is to be looked up
        Returns:
        the value Object at the specified cell
      • isCellEditable

        public boolean isCellEditable​(int row,
                                      int col)
        Insert the method's description here. Creation date: (14.11.1999 15:23:25)
        Specified by:
        isCellEditable in interface TableModel
        Overrides:
        isCellEditable in class AbstractTableModel
        Parameters:
        row - int
        col - int
        Returns:
        boolean
      • setValueAt

        public void setValueAt​(Object aValue,
                               int row,
                               int column)
        Sets the object value for the cell at column and row. aValue is the new value. This method will generate a tableChanged() notification.
        Specified by:
        setValueAt in interface TableModel
        Overrides:
        setValueAt in class AbstractTableModel
        Parameters:
        aValue - the new value. This can be null.
        row - the row whose value is to be looked up
        column - the column whose value is to be looked up