FileDocCategorySizeDatePackage
TableContextMenuItem.javaAPI DocAzureus 3.0.3.42332Fri Aug 03 11:30:14 BST 2007org.gudy.azureus2.plugins.ui.tables

TableContextMenuItem

public interface TableContextMenuItem implements org.gudy.azureus2.plugins.ui.menus.MenuItem
Represents on context menu item for a table.

Fields Summary
Constructors Summary
Methods Summary
public voidaddListener(org.gudy.azureus2.plugins.ui.menus.MenuItemListener l)
Adds a selection listener for this menu item. The {@link MenuItemListener#selected(MenuItem, Object)} method invoked with the target being a {@link TableRow} instance. This will be one of the items which was selected - this method will be invoked multiple times with each item that was selected - if you want the entire selection of items in one go, you should register the listener via {@link #addMultiListener(MenuItemListener)}.

param
l listener to be notified when user has selected the menu item.

public voidaddMultiListener(org.gudy.azureus2.plugins.ui.menus.MenuItemListener l)
Adds a selection listener for this menu item. This differs from {@link #addListener(MenuItemListener)}, in that the target object which will be passed to the listener will be an array of {@link TableRow} objects, rather than just a single object.

param
l listener to be notified when user has selected the menu item.
since
2.5.0.2

public java.lang.StringgetTableID()
Retrieve the Table ID that the menu item belongs to

return
{@link TableManager}.TABLE_ constant