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

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

Introduction

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

Usage

From source file org.openmicroscopy.shoola.agents.fsimporter.util.ChecksumTableRenderer.java

/**
 * Render the checksums correctly.
 *
 * @author Jean-Marie Burel     
 * <a href="mailto:j.burel@dundee.ac.uk">j.burel@dundee.ac.uk</a>
 * @since 4.4

From source file net.sourceforge.msscodefactory.cflib.v2_1.CFLib.Swing.CFNumberColumnCellRenderer.java

public class CFNumberColumnCellRenderer extends DefaultTableCellRenderer {
    final static String S_Hashes = "####################################################################################################";
    final static String S_Zeroes = "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000";
    final static String S_Nines = "9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999";

    protected int digits;

From source file StocksTable3.java

class ColoredTableCellRenderer extends DefaultTableCellRenderer {
    public void setValue(Object value) {
        if (value instanceof ColorData) {
            ColorData cvalue = (ColorData) value;
            setForeground(cvalue.m_color);
            setText(cvalue.m_data.toString());

From source file StocksTable4.java

class ColoredTableCellRenderer extends DefaultTableCellRenderer {
    public void setValue(Object value) {
        if (value instanceof ColorData) {
            ColorData cvalue = (ColorData) value;
            setForeground(cvalue.m_color);
            setText(cvalue.m_data.toString());

From source file StocksTable2.java

class ColoredTableCellRenderer extends DefaultTableCellRenderer {
    public void setValue(Object value) {
        if (value instanceof ColorData) {
            ColorData cvalue = (ColorData) value;
            setForeground(cvalue.m_color);
            setText(cvalue.m_data.toString());

From source file ColorTableColumnRenderer.java

class ColoredTableCellRenderer extends DefaultTableCellRenderer {
    public void setValue(Object value) {
        setForeground(Color.red);
        super.setValue(value);
    }
}

From source file FileTable2.java

class BigRenderer extends DefaultTableCellRenderer {
    double threshold;

    Icon bang = new ImageIcon("bang.gif");

    public BigRenderer(double t) {

From source file com.sec.ose.osi.ui.frm.main.identification.stringmatch.table.JTableInfoForSMFile.java

/**
 * IdentificationTableRendererForSMFile
 * @author sjh.yoo, hankido.lee
 * 
 */
class IdentificationTableRendererForSMFile extends DefaultTableCellRenderer {

From source file com.sec.ose.osi.ui.frm.main.identification.stringmatch.table.JTableInfoForSMFolder.java

/**
 * IdentificationTableRendererForSMFolder
 * @author sjh.yoo, hankido.lee
 * 
 */
class IdentificationTableRendererForSMFolder extends DefaultTableCellRenderer {

From source file com.sec.ose.osi.ui.frm.main.identification.stringmatch.table.JTableInfoForSMMultipleFile.java

/**
 * IdentificationTableRendererForMultipleFile
 * @author suhyun47.kim, sjh.yoo, hankido.lee
 * 
 */
class IdentificationTableRendererForMultipleFile extends DefaultTableCellRenderer {