org.gudy.azureus2.ui.swt.views
Class PieceDistributionView
java.lang.Object
org.gudy.azureus2.ui.swt.views.PieceDistributionView
- All Implemented Interfaces:
- UISWTViewEventListener, UISWTViewCoreEventListener
- Direct Known Subclasses:
- MyPieceDistributionView, RemotePieceDistributionView
public abstract class PieceDistributionView
- extends Object
- implements UISWTViewCoreEventListener
- Author:
- Aaron Grunthal
Method Summary |
abstract void |
dataSourceChanged(Object newDataSource)
implementors of this method must provide an appropriate peer manager and
possibly provide the hasPieces array for pieces the data source has |
boolean |
eventOccurred(UISWTViewEvent event)
Triggers when an even listed in UISWTViewEvent occurs |
void |
refresh()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pem
protected PEPeerManager pem
hasPieces
protected boolean[] hasPieces
isMe
protected boolean isMe
PieceDistributionView
public PieceDistributionView()
dataSourceChanged
public abstract void dataSourceChanged(Object newDataSource)
- implementors of this method must provide an appropriate peer manager and
possibly provide the hasPieces array for pieces the data source has
refresh
public void refresh()
eventOccurred
public boolean eventOccurred(UISWTViewEvent event)
- Description copied from interface:
UISWTViewEventListener
- Triggers when an even listed in UISWTViewEvent occurs
- Specified by:
eventOccurred
in interface UISWTViewEventListener
- Parameters:
event
- event that occurred
- Returns:
- meaning dependent upon event type