com.aelitis.azureus.ui.swt.uiupdater
Class UIUpdaterSWT

java.lang.Object
  extended by org.gudy.azureus2.core3.util.AEThread2
      extended by com.aelitis.azureus.ui.swt.uiupdater.UIUpdaterSWT
All Implemented Interfaces:
UIUpdater, ParameterListener

public class UIUpdaterSWT
extends AEThread2
implements ParameterListener, UIUpdater

Author:
TuxPaper

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gudy.azureus2.core3.util.AEThread2
AEThread2.threadWrapper
 
Nested classes/interfaces inherited from interface com.aelitis.azureus.ui.common.updater.UIUpdater
UIUpdater.UIUpdaterListener
 
Field Summary
 
Fields inherited from class org.gudy.azureus2.core3.util.AEThread2
TRACE_TIMES
 
Constructor Summary
UIUpdaterSWT()
           
 
Method Summary
 void addListener(UIUpdater.UIUpdaterListener listener)
           
 void addUpdater(UIUpdatable updateable)
           
static UIUpdater getInstance()
           
 boolean isAdded(UIUpdatable updateable)
           
 void parameterChanged(java.lang.String parameterName)
          Called, when a parameter has changed.
 void removeListener(UIUpdater.UIUpdaterListener listener)
           
 void removeUpdater(UIUpdatable updateable)
           
 void run()
           
 void stopIt()
           
 
Methods inherited from class org.gudy.azureus2.core3.util.AEThread2
getDebug, getName, interrupt, isAlive, isCurrentThread, isOurThread, join, setDebug, setName, setOurThread, setOurThread, setPriority, start, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.aelitis.azureus.ui.common.updater.UIUpdater
start
 

Constructor Detail

UIUpdaterSWT

public UIUpdaterSWT()
Method Detail

getInstance

public static UIUpdater getInstance()

run

public void run()
Specified by:
run in class AEThread2

parameterChanged

public void parameterChanged(java.lang.String parameterName)
Description copied from interface: ParameterListener
Called, when a parameter has changed. The listener could only react if the parameter name is relevant. Or the listener can just read all parameters again.

Specified by:
parameterChanged in interface ParameterListener
Parameters:
parameterName - the name of the parameter that has changed

addUpdater

public void addUpdater(UIUpdatable updateable)
Specified by:
addUpdater in interface UIUpdater

isAdded

public boolean isAdded(UIUpdatable updateable)
Specified by:
isAdded in interface UIUpdater

removeUpdater

public void removeUpdater(UIUpdatable updateable)
Specified by:
removeUpdater in interface UIUpdater

stopIt

public void stopIt()
Specified by:
stopIt in interface UIUpdater

addListener

public void addListener(UIUpdater.UIUpdaterListener listener)
Specified by:
addListener in interface UIUpdater

removeListener

public void removeListener(UIUpdater.UIUpdaterListener listener)
Specified by:
removeListener in interface UIUpdater