⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 myfactory.java

📁 一个简单的CellEditor的例子 希望给学习java的朋友一点帮助
💻 JAVA
字号:
package com.intotherain.examples.SimpleCellEditor.util;

import java.util.ArrayList;
import java.util.List;

import com.intotherain.examples.SimpleCellEditor.model.IETypeEnum;
import com.intotherain.examples.SimpleCellEditor.model.Record;

/**
 * 
 * @author intotherain
 *
 */
public class MyFactory {
    public static List<Record> createRecords() {
        List<Record> list = new ArrayList<Record>();
        
        Record r1 = new Record("10023", "IntoTheRain", "2h34m", IETypeEnum.FireFox);
        list.add(r1);
        
        Record r2 = new Record("78201","Slayer`boxer", "4h08m", IETypeEnum.MisrcoSoft_IE);
        list.add(r2);
        
        Record r3 = new Record ("45755", "Nc yellow", "9h19m", IETypeEnum.Opera);
        list.add(r3);
        
        return list;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -