Example usage for javax.swing.table AbstractTableModel subclass-usage

List of usage examples for javax.swing.table AbstractTableModel subclass-usage

Introduction

In this page you can find the example usage for javax.swing.table AbstractTableModel subclass-usage.

Usage

From source file Main.java

class ColorTableModel extends AbstractTableModel {

    Object rowData[][] = { { "1", Boolean.TRUE, Color.RED }, { "2", Boolean.TRUE, Color.BLUE },
            { "3", Boolean.FALSE, Color.GREEN }, { "4", Boolean.TRUE, Color.MAGENTA },
            { "5", Boolean.FALSE, Color.PINK }, };

From source file Main.java

class ColorTableModel extends AbstractTableModel {

    Object rowData[][] = { { "1", Boolean.TRUE, Color.RED }, { "2", Boolean.TRUE, Color.BLUE },
            { "3", Boolean.FALSE, Color.GREEN }, { "4", Boolean.TRUE, Color.MAGENTA },
            { "5", Boolean.FALSE, Color.PINK }, };

From source file GenderEditor.java

class TableValues extends AbstractTableModel {

    public final static int FIRST_NAME = 0;

    public final static int LAST_NAME = 1;

From source file com.diversityarrays.kdxplore.curate.CurationTableModel.java

@SuppressWarnings("nls")
public class CurationTableModel extends AbstractTableModel {

    static private boolean DEBUG = false;

    public static final String PROPERTY_TRAIT_INSTANCES = "traitInstancesChanged";

From source file com.emental.mindraider.ui.outline.OutlineArchiveJPanel.java

class ArchiveTableModel extends AbstractTableModel {
    private String[] columnNames = { "Title", "Annotation", "Created" };
    private ResourceDescriptor[] discardedConcepts = null;
    private OutlineArchiveJPanel archive;

    public ArchiveTableModel(OutlineArchiveJPanel archive) {

From source file com.projity.pm.graphic.spreadsheet.common.CommonSpreadSheetModel.java

/**
 *  
 */
public class CommonSpreadSheetModel extends AbstractTableModel
        implements CacheListener/*implements ObjectEvent.Listener*/ {
    protected NodeModelCache cache = null;

From source file StocksTable2.java

class StockTableData extends AbstractTableModel {
    static final public ColumnData m_columns[] = { new ColumnData("Symbol", 100, JLabel.LEFT),
            new ColumnData("Name", 160, JLabel.LEFT), new ColumnData("Last", 100, JLabel.RIGHT),
            new ColumnData("Open", 100, JLabel.RIGHT), new ColumnData("Change", 100, JLabel.RIGHT),
            new ColumnData("Change %", 100, JLabel.RIGHT), new ColumnData("Volume", 100, JLabel.RIGHT) };

From source file com.emental.mindraider.ui.outline.OutlineSorterJPanel.java

class SorterTableModel extends AbstractTableModel {
    private static final Log logger = LogFactory.getLog(SorterTableModel.class); // {{debug}}

    private String[] columnNames = { "Title", "Annotation", "Category", "Revision", "Modified", "Created" };
    public ResourceDescriptor[] activeConcepts = null;
    public HashMap<String, ResourceDescriptor> activeConceptsByUri = new HashMap<String, ResourceDescriptor>();

From source file StocksTable3.java

class StockTableData extends AbstractTableModel {
    static final public ColumnData m_columns[] = { new ColumnData("Symbol", 100, JLabel.LEFT),
            new ColumnData("Name", 160, JLabel.LEFT), new ColumnData("Last", 100, JLabel.RIGHT),
            new ColumnData("Open", 100, JLabel.RIGHT), new ColumnData("Change", 100, JLabel.RIGHT),
            new ColumnData("Change %", 100, JLabel.RIGHT), new ColumnData("Volume", 100, JLabel.RIGHT) };

From source file StocksTable4.java

class StockTableData extends AbstractTableModel {
    static final public ColumnData m_columns[] = { new ColumnData("Symbol", 100, JLabel.LEFT),
            new ColumnData("Name", 160, JLabel.LEFT), new ColumnData("Last", 100, JLabel.RIGHT),
            new ColumnData("Open", 100, JLabel.RIGHT), new ColumnData("Change", 100, JLabel.RIGHT),
            new ColumnData("Change %", 100, JLabel.RIGHT), new ColumnData("Volume", 100, JLabel.RIGHT) };