com.cleancode.swing
Interface JTableCellChecker
public interface JTableCellChecker
Provides a mechanism to separate editability of a cell from the
table model.
This interface provides a callback mechanism which may be specified
in a table model so that the logic which determines whether a cell is
editable or not may be separate from the table model.
Since:
CleanCode 0.9
Version:
$Revision: 9 $
Author:
Michael Sorens
Field Summary
static String
VERSION
Current version of this class.
Method Summary
boolean
cellChecker (AbstractTableModel model,
int rowIndex,
int colIndex)
Determines whether the specified table cell is editable.
VERSION
static final String VERSION
Current version of this class.
cellChecker
boolean cellChecker (AbstractTableModel model,
int rowIndex,
int colIndex)
Determines whether the specified table cell is editable.
Parameters: model
- table model whose cell is to be checkedrowIndex
- row index of the cellcolIndex
- column index of the cell
Returns: boolean indicating whether cell is editable
CleanCode Java Libraries
Copyright © 2001-2012 Michael Sorens - Revised 2012.12.10