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
Field Summary |
static java.lang.String |
TABLE_SR
|
Method Summary |
java.lang.Object |
dataSourceChanged(SWTSkinObject skinObject,
java.lang.Object params)
|
boolean |
filterCheck(SBC_SubscriptionResult ds,
java.lang.String filter,
boolean regex)
|
void |
filterSet(java.lang.String filter)
|
java.lang.String |
getDownloadURI(SBC_SubscriptionResult result)
|
java.lang.String |
getUpdateUIName()
A name for this UIUpdatable so we can track who's being bad |
protected void |
refilter()
|
void |
refreshToolBarItems(java.util.Map<java.lang.String,java.lang.Long> list)
Fill in list with the toolbar ids and states you wish to set |
java.lang.Object |
skinObjectDestroyed(SWTSkinObject skinObject,
java.lang.Object params)
Skin Object was destroyed |
java.lang.Object |
skinObjectHidden(SWTSkinObject skinObject,
java.lang.Object params)
Skin Object was hidden |
java.lang.Object |
skinObjectInitialShow(SWTSkinObject skinObject,
java.lang.Object params)
|
java.lang.Object |
skinObjectShown(SWTSkinObject skinObject,
java.lang.Object params)
Skin Object was shown |
void |
subscriptionChanged(Subscription subs,
int reason)
|
void |
subscriptionDownloaded(Subscription subs,
boolean auto)
|
boolean |
toolBarItemActivated(ToolBarItem item,
long activationType,
java.lang.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 java.lang.String TABLE_SR
- See Also:
- Constant Field Values
SBC_SubscriptionResultsView
public SBC_SubscriptionResultsView()
skinObjectInitialShow
public java.lang.Object skinObjectInitialShow(SWTSkinObject skinObject,
java.lang.Object params)
- Specified by:
skinObjectInitialShow
in class SkinView
- Returns:
refilter
protected void refilter()
dataSourceChanged
public java.lang.Object dataSourceChanged(SWTSkinObject skinObject,
java.lang.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 java.lang.Object skinObjectShown(SWTSkinObject skinObject,
java.lang.Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was shown
- Overrides:
skinObjectShown
in class SkinView
skinObjectHidden
public java.lang.Object skinObjectHidden(SWTSkinObject skinObject,
java.lang.Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was hidden
- Overrides:
skinObjectHidden
in class SkinView
skinObjectDestroyed
public java.lang.Object skinObjectDestroyed(SWTSkinObject skinObject,
java.lang.Object params)
- Description copied from class:
SWTSkinObjectAdapter
- Skin Object was destroyed
- Overrides:
skinObjectDestroyed
in class SkinView
getUpdateUIName
public java.lang.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,
java.lang.String filter,
boolean regex)
- Specified by:
filterCheck
in interface TableViewFilterCheck<SBC_SubscriptionResult>
filterSet
public void filterSet(java.lang.String filter)
- Specified by:
filterSet
in interface TableViewFilterCheck<SBC_SubscriptionResult>
toolBarItemActivated
public boolean toolBarItemActivated(ToolBarItem item,
long activationType,
java.lang.Object datasource)
- Description copied from interface:
UIToolBarActivationListener
- XXX Should have been UIToolBarItem
- Specified by:
toolBarItemActivated
in interface UIToolBarActivationListener
refreshToolBarItems
public void refreshToolBarItems(java.util.Map<java.lang.String,java.lang.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 java.lang.String getDownloadURI(SBC_SubscriptionResult result)