Package org.jmule.ui.swt.tables

Examples of org.jmule.ui.swt.tables.BufferedTableRow


 
  public void refresh() {
    // Refresh server's data
    if (isDisposed()) return ;
    for(Server server : servers_manager.getServers()) {
      BufferedTableRow row = getRow(server);
      if (row == null) continue;
      if (!row.isVisible()) continue;
      if (is_sorted)
        sortColumn(last_sort_column,last_sort_dir);
      updateRow(server);
    }
View Full Code Here


 
  public static void updateTableBackground(JMTable table) {
    for(int i = 0;i<table.getItemCount();i++) {
      Object object = table.getObjects().get(i);
      if (object == null) continue;
      BufferedTableRow row = table.getRow(object);
      if (!row.isVisible()) continue;
      if (i%2==0)
        row.setBackgrounColor(JMTable.ROW_ALTERNATE_COLOR_2);
      else
        row.setBackgrounColor(JMTable.ROW_ALTERNATE_COLOR_1);
    }
  }
View Full Code Here

TOP

Related Classes of org.jmule.ui.swt.tables.BufferedTableRow

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.