com.limegroup.gnutella.gui.tables
Class AbstractTableMediator.Resorter

java.lang.Object
  extended bycom.limegroup.gnutella.gui.tables.AbstractTableMediator.Resorter
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
AbstractTableMediator

protected final class AbstractTableMediator.Resorter
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
protected AbstractTableMediator.Resorter()
           
 
Method Summary
 void doResort(boolean isForce)
          To save processor usage, only resort those tables that are currently showing, are sorting in real time, and are not actively being sorted.
 void run()
          Iff the data model needs resorting (meaning the selected column is a 'dynamic' column), then do the resort.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTableMediator.Resorter

protected AbstractTableMediator.Resorter()
Method Detail

doResort

public void doResort(boolean isForce)
To save processor usage, only resort those tables that are currently showing, are sorting in real time, and are not actively being sorted.


run

public void run()
Iff the data model needs resorting (meaning the selected column is a 'dynamic' column), then do the resort. We need to remember what was selected because resorting will invalidate the selections. We cannot do it while the table is editing because editing overrides what is displaying in that cell, making the user think they are still editing the correct line, when infact it has moved.

Specified by:
run in interface java.lang.Runnable