forked from fanruan/finekit
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
724 B
29 lines
724 B
6 years ago
|
package com.fanruan.api.data.open;
|
||
|
|
||
|
import com.fanruan.api.err.TableDataException;
|
||
|
import com.fr.data.AbstractDataModel;
|
||
|
|
||
|
/**
|
||
|
* @author richie
|
||
|
* @version 10.0
|
||
|
* Created by richie on 2019-09-04
|
||
|
* 二维表模型
|
||
|
*/
|
||
|
public abstract class BaseDataModel extends AbstractDataModel {
|
||
|
|
||
|
@Override
|
||
|
public abstract int getColumnCount() throws TableDataException;
|
||
|
|
||
|
@Override
|
||
|
public abstract String getColumnName(int rowIndex) throws TableDataException;
|
||
|
|
||
|
@Override
|
||
|
public abstract int getRowCount() throws TableDataException;
|
||
|
|
||
|
@Override
|
||
|
public abstract Object getValueAt(int rowIndex, int columnIndex) throws TableDataException;
|
||
|
|
||
|
@Override
|
||
|
public abstract void release() throws Exception;
|
||
|
}
|