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 StocksTable5.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 com.sec.ose.osi.ui.frm.main.manage.FileBrowser.java

class FileBrowseCellRenderer extends DefaultTableCellRenderer {
    private static final long serialVersionUID = 4693568826719869132L;

    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
            int row, int col) {
        FileBrowser lblComponent = (FileBrowser) value;

From source file com.sec.ose.osi.ui.frm.main.identification.codematch.table.JTableInfoForCMFolder.java

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

From source file com.sec.ose.osi.ui.frm.main.identification.codematch.table.JTableInfoForCMMultipleFile.java

class IdentificationTableRendererMultipleFile extends DefaultTableCellRenderer {
    private static Log log = LogFactory.getLog(IdentificationTableRendererMultipleFile.class);

    private static final long serialVersionUID = -573584914996670949L;
    private static final Color NORMAL_COLOR = new Color(20, 20, 20);
    private static final Color GRAY_COLOR = new Color(130, 130, 130);

From source file com.sec.ose.osi.ui.frm.main.identification.codematch.table.JTableInfoForCMFile.java

/**
 * IdentificationTableRendererFile
 * @author suhyun47.kim, hankido.lee
 * 
 */
class IdentificationTableRendererFile extends DefaultTableCellRenderer {

From source file org.openconcerto.task.TodoListPanel.java

class JComponentTableCellRenderer extends DefaultTableCellRenderer {
    Icon icon;
    TableCellRenderer renderer;

    public JComponentTableCellRenderer(Icon icon) {
        super();

From source file semaforo.Semaforo.java

class CustomRendererCell extends DefaultTableCellRenderer {

    private static final long serialVersionUID = 6703872492730589499L;

    public Component getTableCellRendererComponentCell(JTable table, Color color, Object value, boolean isSelected,
            boolean hasFocus, int row, int column) {