Class TableCellRefresher

java.lang.Object
com.biglybt.pif.ui.tables.TableCellRefresher

public class TableCellRefresher extends Object
Provides a simple way to get a TableCell refreshed more often than the normal GUI refresh cycle It always clocks at 100ms as well as time synchronization methods for cells showing animated icons
  • Field Details

    • instance

      private static TableCellRefresher instance
    • refresher

      private AEThread2 refresher
    • mapCellsToColumn

      private Map<TableCell,TableColumn> mapCellsToColumn
    • iterationNumber

      private long iterationNumber
    • inProgress

      private volatile boolean inProgress
    • runnable

      private AERunnable runnable
  • Constructor Details

    • TableCellRefresher

      private TableCellRefresher()
  • Method Details

    • _addColumnCell

      private void _addColumnCell(TableColumn column, TableCell cell)
    • _getRefreshIndex

      private int _getRefreshIndex(int refreshEvery100ms, int nbIndices)
    • getInstance

      private static TableCellRefresher getInstance()
    • addCell

      public static void addCell(TableColumn column, TableCell cell)
    • getRefreshIndex

      public static int getRefreshIndex(int refreshEvery100ms, int nbIndices)