indexcell.java
来自「java绘图 java awt 经典绘图的例子,对于初学awt模块的人非常有帮助」· Java 代码 · 共 43 行
JAVA
43 行
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package sortTable;import java.util.Date;/** * * @author Administrator */public class IndexCell{ //默认行号 private int rowIndex; //单元格对象 private Object cellContent; public IndexCell(int index, Object cellObj) { this.rowIndex = index; this.cellContent = cellObj; } public Object getCellContent() { return cellContent; } public void setCellContent(Object cellContent) { this.cellContent = cellContent; } public int getRowIndex() { return rowIndex; } public void setRowIndex(int rowIndex) { this.rowIndex = rowIndex; } public String toString(){ return cellContent.toString(); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?