All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.ui.swing.cells.TableCellParams Maven / Gradle / Ivy

package cdc.ui.swing.cells;

import javax.swing.JTable;

public final class TableCellParams extends CellParams {
    private int viewColumn;

    public TableCellParams(CellUsage cellUsage,
                           JTable component) {
        super(cellUsage,
              component);
    }

    @Override
    public CellType getCellType() {
        return CellType.TABLE;
    }

    @Override
    public JTable getComponent() {
        return (JTable) super.getComponent();
    }

    public int getViewColumn() {
        return viewColumn;
    }

    public TableCellParams setViewColumn(int viewColumn) {
        this.viewColumn = viewColumn;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy