Package clips.doctor.profcheckup.search

Examples of clips.doctor.profcheckup.search.TableCellRenderProfCheckupSearch$RenderDateDataSource


    private void resetTable() {
        //TODO: отсортировать профчекапы в кеше по дате
//        java.util.Collections.sort(profcheckupLocals, profCeckupComparator);
        TableModelProfCheckupSearch model = new TableModelProfCheckupSearch(profcheckupLocals);
        tblProfcheckups.setModel(model);
        TableCellRenderProfCheckupSearch renderer = new TableCellRenderProfCheckupSearch(new TableCellRenderProfCheckupSearch.RenderDefaultDataSource());//создаём рендер
        tblProfcheckups.setDefaultRenderer(Object.class, renderer);//вешаем рендер на таблицу
        tblProfcheckups.setDefaultRenderer(Date.class, new TableCellRenderProfCheckupSearch(new TableCellRenderProfCheckupSearch.RenderDateDataSource()));//вешаем рендер на таблицу
        //tblProfcheckups.getColumnModel().getColumn(TableModelProfCheckupSearch.CL_DATE).setCellRenderer(renderer);
  
//        System.out.println("PanelProfCheckupSearch: resetTable");
    }
View Full Code Here

TOP

Related Classes of clips.doctor.profcheckup.search.TableCellRenderProfCheckupSearch$RenderDateDataSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.