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 MixerTest2.java

class MixerModel extends AbstractTableModel {

    String headers[] = { "Track", "Start", "Stop", "Left Volume", "Right Volume" };

    Class columnClasses[] = { String.class, String.class, String.class, Volume.class, Volume.class };

From source file org.pentaho.reporting.designer.core.editor.drilldown.DrillDownParameterTableModel.java

public class DrillDownParameterTableModel extends AbstractTableModel
        implements ElementMetaDataTableModel, GroupingModel {
    private static class PlainParameterComparator implements Comparator {
        public int compare(final Object o1, final Object o2) {
            final DrillDownParameter parameter1 = (DrillDownParameter) o1;
            final DrillDownParameter parameter2 = (DrillDownParameter) o2;

From source file pl.otros.logview.api.gui.LogDataTableModel.java

public class LogDataTableModel extends AbstractTableModel
        implements LogDataCollector, MarkableTableModel, NotableTableModel {

    private static final String EMPTY_STRING = "";

    private static final Logger LOGGER = LoggerFactory.getLogger(LogDataTableModel.class.getName());

From source file com.globalsight.reports.JobTableModel.java

public class JobTableModel extends AbstractTableModel {
    private static final long serialVersionUID = -7835559819604621491L;

    ResourceBundle m_bundle = null;
    Locale m_uilocale = null;
    LinkedList<List<Object>> m_datarows = null;

From source file pt.webdetails.cda.utils.mondrian.CompactBandedMDXTableModel.java

/**
 * This tablemodel performs some preprocessing to get multi-dimensional resultset (with row and column headers) into a
 * classical table-structure. The query must be a two-dimensional query or the whole process will break.
 * <p/>
 * This class exists for legacy reasons to provide existing reports the same view on MDX data as implemented in the
 * Pentaho-Platform and the Report-Designer. It can also be somewhat useful if you have a requirement to produce banded

From source file TableSorter.java

/**
 * TableSorter is a decorator for TableModels; adding sorting
 * functionality to a supplied TableModel. TableSorter does
 * not store or copy the data in its TableModel; instead it maintains
 * a map from the row indexes of the view to the row indexes of the
 * model. As requests are made of the sorter (like getValueAt(row, col))

From source file org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.DenormalizedMDXTableModel.java

/**
 * Axis indexes are predefined: 0 = Columns, 1 = rows, 2 = pages, 3 = sections, 4 = Chapters, 5 and greater: unnamed) Up
 * to 128 axises can be specified. There can be queries with no axis at all, which returns a single cell.
 *
 * @author : Thomas Morgner
 */

From source file org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.BandedMDXTableModel.java

/**
 * This tablemodel performs some preprocessing to get multi-dimensional resultset (with row and column headers) into a
 * classical table-structure. The query must be a two-dimensional query or the whole process will break.
 * <p/>
 * This class exists for legacy reasons to provide existing reports the same view on MDX data as implemented in the
 * Pentaho-Platform and the Report-Designer. It can also be somewhat useful if you have a requirement to produce banded

From source file phex.gui.common.table.FWSortedTableModel.java

/**
 * TableSorter is a decorator for TableModels; adding sorting
 * functionality to a supplied TableModel. TableSorter does
 * not store or copy the data in its TableModel; instead it maintains
 * a map from the row indexes of the view to the row indexes of the
 * model. As requests are made of the sorter (like getValueAt(row, col))

From source file org.nekorp.workflow.desktop.view.resource.imp.CostoServicioTableModel.java

/**
 *
 *
 */
@Component("costoServicioTableModel")
public class CostoServicioTableModel extends AbstractTableModel implements Bindable {