use of de.jaret.util.ui.table.renderer.ImageCellRenderer in project translationstudio8 by heartsome.
the class JaretTable method registerDefaultRenderers.
/**
* Register all default renderers.
*
*/
private void registerDefaultRenderers() {
ICellRenderer cellRenderer = new TextCellRenderer();
registerCellRenderer(void.class, cellRenderer);
registerCellRenderer(String.class, cellRenderer);
registerCellRenderer(Image.class, new ImageCellRenderer());
cellRenderer = new BooleanCellRenderer();
registerCellRenderer(Boolean.class, cellRenderer);
registerCellRenderer(Boolean.TYPE, cellRenderer);
cellRenderer = new DateCellRenderer();
registerCellRenderer(Date.class, cellRenderer);
registerCellRenderer(JaretDate.class, cellRenderer);
cellRenderer = new DoubleCellRenderer();
registerCellRenderer(Double.class, cellRenderer);
registerCellRenderer(Double.TYPE, cellRenderer);
}
Aggregations