org.gudy.azureus2.ui.swt.views.stats
Class DHTOpsPanel

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.views.stats.DHTOpsPanel
All Implemented Interfaces:
DHTControlListener

public class DHTOpsPanel
extends java.lang.Object
implements DHTControlListener


Nested Class Summary
static interface DHTOpsPanel.ActivityFilter
           
 
Field Summary
 
Fields inherited from interface com.aelitis.azureus.core.dht.control.DHTControlListener
CT_ADDED, CT_CHANGED, CT_REMOVED
 
Constructor Summary
DHTOpsPanel(org.eclipse.swt.widgets.Composite parent)
           
 
Method Summary
 void activityChanged(DHTControlActivity activity, int type)
           
 void delete()
           
 int getAlpha()
           
 void refresh()
           
 void refreshView(DHT dht)
           
 void setAlpha(int alpha)
           
 void setAutoAlpha(boolean autoAlpha)
           
 void setFilter(DHTOpsPanel.ActivityFilter f)
           
 void setLayoutData(java.lang.Object data)
           
 void setMinimumSlots(int min)
           
 void setScaleAndRotation(float min_x, float max_x, float min_y, float max_y, double rot)
           
protected  void setUnavailable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHTOpsPanel

public DHTOpsPanel(org.eclipse.swt.widgets.Composite parent)
Method Detail

setLayoutData

public void setLayoutData(java.lang.Object data)

activityChanged

public void activityChanged(DHTControlActivity activity,
                            int type)
Specified by:
activityChanged in interface DHTControlListener

setUnavailable

protected void setUnavailable()

refreshView

public void refreshView(DHT dht)

setFilter

public void setFilter(DHTOpsPanel.ActivityFilter f)

setMinimumSlots

public void setMinimumSlots(int min)
Parameters:
min - things don't work well for < 4...

setScaleAndRotation

public void setScaleAndRotation(float min_x,
                                float max_x,
                                float min_y,
                                float max_y,
                                double rot)

refresh

public void refresh()

getAlpha

public int getAlpha()

setAlpha

public void setAlpha(int alpha)

setAutoAlpha

public void setAutoAlpha(boolean autoAlpha)

delete

public void delete()