Interface GTableAccess
- All Known Implementing Classes:
AbstractDataTypeTableCellEditor
public interface GTableAccess
Provides public access to the unwrapped table model of a
GTable-
Method Summary
Modifier and TypeMethodDescriptiondefault TableModelgetUnwrappedModel(JTable table) Returns the unwrapped table model of the given table.
-
Method Details
-
getUnwrappedModel
Returns the unwrapped table model of the given table.If the given table is a plain
JTable, then this merely delegates toJTable.getModel(). However, if the table happens to be aGTable, then this will invoke the otherwise-protectedGTable.getUnwrappedTableModel(). This is both a utility and a means to access a protected method ofGTable.- Parameters:
table- the table whose model to get- Returns:
- the unwrapped table model of the given table
-