com.aelitis.azureus.ui.swt.subscriptions
Class SBC_SubscriptionResultsView
java.lang.Object
com.aelitis.azureus.ui.swt.skin.SWTSkinObjectAdapter
com.aelitis.azureus.ui.swt.views.skin.SkinView
com.aelitis.azureus.ui.swt.subscriptions.SBC_SubscriptionResultsView
- All Implemented Interfaces:
- SubscriptionListener, TableViewFilterCheck<SBC_SubscriptionResult>, UIUpdatable, SWTSkinObjectListener, UIToolBarActivationListener, UIToolBarEnablerBase, UIPluginViewToolBarListener
public class SBC_SubscriptionResultsView
- extends SkinView
- implements UIUpdatable, UIPluginViewToolBarListener, TableViewFilterCheck<SBC_SubscriptionResult>, SubscriptionListener
Method Summary |
Object |
dataSourceChanged(SWTSkinObject skinObject,
Object params)
|
boolean |
filterCheck(SBC_SubscriptionResult ds,
String filter,
boolean regex)
|
void |
filterSet(String filter)
|
String |
getDownloadURI(SBC_SubscriptionResult result)
|
String |
getUpdateUIName()
A name for this UIUpdatable so we can track who's being bad |
protected void |
refilter()
|
void |
refreshToolBarItems(Map<String,Long> list)
Fill in list with the toolbar ids and states you wish to set |
Object |
skinObjectDestroyed(SWTSkinObject skinObject,
Object params)
Skin Object was destroyed |
Object |
skinObjectHidden(SWTSkinObject skinObject,
Object params)
Skin Object was hidden |
Object |
skinObjectInitialShow(SWTSkinObject skinObject,
Object params)
|
Object |
skinObjectShown(SWTSkinObject skinObject,
Object params)
Skin Object was shown |
void |
subscriptionChanged(Subscription subs,
int reason)
|
void |
subscriptionDownloaded(Subscription subs,
boolean auto)
|
boolean |
toolBarItemActivated(ToolBarItem item,
long activationType,
Object datasource)
XXX Should have been UIToolBarItem |
void |
updateUI()
Update your UI! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_SR
public static final String TABLE_SR
- See Also:
- Constant Field Values
SBC_SubscriptionResultsView
public SBC_SubscriptionResultsView()
skinObjectInitialShow
public Object skinObjectInitialShow(SWTSkinObject skinObject,
Object params)
- Specified by:
skinObjectInitialShow
in class SkinView
- Returns:
refilter
protected void refilter()
dataSourceChanged
public Object dataSourceChanged(SWTSkinObject skinObject,
Object params)
- Overrides:
dataSourceChanged
in class SWTSkinObjectAdapter
subscriptionChanged
public void subscriptionChanged(Subscription subs,
int reason)
- Specified by:
subscriptionChanged
in interface SubscriptionListener
subscriptionDownloaded
public void subscriptionDownloaded(Subscription subs,
boolean auto)
- Specified by:
subscriptionDownloaded
in interface SubscriptionListener
skinObjectShown
public Object skinObjectShown(SWTSkinObject skinObject,
Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was shown
- Overrides:
skinObjectShown
in class SkinView
skinObjectHidden
public Object skinObjectHidden(SWTSkinObject skinObject,
Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was hidden
- Overrides:
skinObjectHidden
in class SkinView
skinObjectDestroyed
public Object skinObjectDestroyed(SWTSkinObject skinObject,
Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was destroyed
- Overrides:
skinObjectDestroyed
in class SkinView
getUpdateUIName
public String getUpdateUIName()
- Description copied from interface:
UIUpdatable
- A name for this UIUpdatable so we can track who's being bad
- Specified by:
getUpdateUIName
in interface UIUpdatable
- Returns:
- some name
updateUI
public void updateUI()
- Description copied from interface:
UIUpdatable
- Update your UI!
- Specified by:
updateUI
in interface UIUpdatable
filterCheck
public boolean filterCheck(SBC_SubscriptionResult ds,
String filter,
boolean regex)
- Specified by:
filterCheck
in interface TableViewFilterCheck<SBC_SubscriptionResult>
filterSet
public void filterSet(String filter)
- Specified by:
filterSet
in interface TableViewFilterCheck<SBC_SubscriptionResult>
toolBarItemActivated
public boolean toolBarItemActivated(ToolBarItem item,
long activationType,
Object datasource)
- Description copied from interface:
UIToolBarActivationListener
- XXX Should have been UIToolBarItem
- Specified by:
toolBarItemActivated
in interface UIToolBarActivationListener
refreshToolBarItems
public void refreshToolBarItems(Map<String,Long> list)
- Description copied from interface:
UIPluginViewToolBarListener
- Fill in list with the toolbar ids and states you wish to set
- Specified by:
refreshToolBarItems
in interface UIPluginViewToolBarListener
getDownloadURI
public String getDownloadURI(SBC_SubscriptionResult result)