TableContextMenuItempublic interface TableContextMenuItem implements org.gudy.azureus2.plugins.ui.menus.MenuItemRepresents on context menu item for a table. |
Methods Summary |
---|
public void | addListener(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)}.
| public void | addMultiListener(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.
| public java.lang.String | getTableID()Retrieve the Table ID that the menu item belongs to
|
|