Package starlight.taliis.apps.editors

Examples of starlight.taliis.apps.editors.TableColorRenderer


  void initTableFace() {
    TableColumn column;
   
    column = table.getColumnModel().getColumn(0);
        column.setPreferredWidth(50);
        column.setCellRenderer(new TableColorRenderer(Color.WHITE));
       
        table.getColumnModel().getColumn(1).setMaxWidth(90);
   
    for(int c=2; c<5; c++) {
      column = table.getColumnModel().getColumn(c);
      column.setMaxWidth(150);
      column.setCellRenderer(new TableColorRenderer(new Color(224,255,224)));
    }
    for(int c=6; c<9; c++) {
      column = table.getColumnModel().getColumn(c);
      column.setMaxWidth(150);
      column.setCellRenderer(new TableColorRenderer(new Color(224,255,224)));
    }
  }
View Full Code Here


  void initTableFace() {
    TableColumn column;
   
    column = table.getColumnModel().getColumn(0);
        column.setPreferredWidth(50);
        column.setCellRenderer(new TableColorRenderer(Color.WHITE));
       
        table.getColumnModel().getColumn(1).setMaxWidth(90);
   
    for(int c=2; c<5; c++) {
      column = table.getColumnModel().getColumn(c);
      column.setMaxWidth(150);
      column.setCellRenderer(new TableColorRenderer(new Color(224,255,224)));
    }
    for(int c=6; c<9; c++) {
      column = table.getColumnModel().getColumn(c);
      column.setMaxWidth(150);
      column.setCellRenderer(new TableColorRenderer(new Color(224,255,224)));
    }
  }
View Full Code Here

    TableColumn column;
   
    // file id
    column = table.getColumnModel().getColumn(0);
        column.setPreferredWidth(50);
        column.setCellRenderer(new TableColorRenderer(Color.WHITE));
       
        table.getColumnModel().getColumn(1).setMaxWidth(90);

    // first floats
    for(int c=2; c<5; c++) {
      column = table.getColumnModel().getColumn(c);
      column.setMaxWidth(150);
      column.setCellRenderer(new TableColorRenderer(new Color(224,255,224)));
    }
   
    // orientation floats
    for(int c=7; c<10; c++) {
      column = table.getColumnModel().getColumn(c);
      column.setMaxWidth(150);
      column.setCellRenderer(new TableColorRenderer(new Color(224,255,224)));
    }
   
   

  }
View Full Code Here

TOP

Related Classes of starlight.taliis.apps.editors.TableColorRenderer

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.