Java JTable Cell Renderer getTableCellRendererClass( Class propType)

Here you can find the source of getTableCellRendererClass( Class propType)

Description

get Table Cell Renderer Class

License

Open Source License

Declaration

public static Class<? extends TableCellRenderer> getTableCellRendererClass(
            Class propType) 

Method Source Code

//package com.java2s;

import java.util.HashMap;

import javax.swing.table.TableCellRenderer;

public class Main {
    private static HashMap<Class, Class<? extends TableCellRenderer>> cellRendererClasses;

    public static Class<? extends TableCellRenderer> getTableCellRendererClass(
            Class propType) {/*from   ww  w  . j av a 2 s  .  c  om*/
        return cellRendererClasses.get(propType);
    }
}

Related

  1. applyRenderers(final JTable table, final TableCellRenderer[] renderers)
  2. configureColumn(JTable table, int columnNumber, Integer width, TableCellRenderer renderer, TableCellEditor editor)
  3. createDefaultTableCellRenderer()
  4. getCellRenderer(final int hMargin)
  5. getDefaultRenderer(JTable table, TableColumn column)
  6. setCellRender(JTable table, int columnIdx, TableCellRenderer render)
  7. setTableRenderer(JTable table, Integer alignment)
  8. setUpCellRenderer(JTable table)