tablemodel.java
来自「这是一个j2me开发的手机图书馆程序」· Java 代码 · 共 34 行
JAVA
34 行
package ui.table;
public interface TableModel {
/**
* <P>Returns the number of columns the model contains.
*/
public int getColumnCount();
/**
* <P>Returns the number of rows the model contains.
*/
public int getRowCount();
/**
* <P>Returns the text for the column header.
*/
public String getColumnHeaderText(int col);
/**
* <P>Returns whether column headers are displayed.
*/
public boolean hasColumnHeaders();
/**
* <P>Returns the value for the specified cell.
*/
public String getValueAt(int row,int col);
/**
*<P>return column width
*/
// public int getColumnWidth(int col);
public String[] getValueAt(int row);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?