Package com.biglybt.ui.swt.subscriptions
Class SubscriptionManagerUI.SubsMenuItemListener
- java.lang.Object
-
- com.biglybt.ui.swt.subscriptions.SubscriptionManagerUI.SubsMenuItemListener
-
- All Implemented Interfaces:
MenuItemListener
- Enclosing class:
- SubscriptionManagerUI
private abstract static class SubscriptionManagerUI.SubsMenuItemListener extends java.lang.Object implements MenuItemListener
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SubsMenuItemListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
selected(Subscription subs)
void
selected(Subscription[] subs)
void
selected(MenuItem menu, java.lang.Object target)
Menu item has been selected by the user.
-
-
-
Method Detail
-
selected
public final void selected(MenuItem menu, java.lang.Object target)
Description copied from interface:MenuItemListener
Menu item has been selected by the user. Note - this method will be called when a "deselection" takes place, like if the MenuItem has STYLE_CHECK or STYLE_RADIO (where a previously selected item has been deselected because another item has been selected instead). Therefore, you should check the state of the MenuItem, rather than assuming that it has been "activated".- Specified by:
selected
in interfaceMenuItemListener
- Parameters:
menu
- Which menu item was selectedtarget
- What this menu item applies to. For the default implementation, target is null. Implementing classes may provide an object related to the menu selection.For table context menu items this will be TableRow[] of selected rows
ForMenuManager.MENU_DOWNLOAD_CONTEXT
this will be an array ofDownload
-
selected
public void selected(Subscription subs)
-
selected
public void selected(Subscription[] subs)
-
-