org.gudy.azureus2.pluginsimpl.local.ui.tables
Class TableContextMenuItemImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.ui.menus.MenuItemImpl
org.gudy.azureus2.pluginsimpl.local.ui.tables.TableContextMenuItemImpl
- All Implemented Interfaces:
- MenuItem, TableContextMenuItem
public class TableContextMenuItemImpl
- extends MenuItemImpl
- implements TableContextMenuItem
Method Summary |
String |
getTableID()
Retrieve the Table ID that the menu item belongs to |
void |
remove()
Removes the menu item. |
Methods inherited from class org.gudy.azureus2.pluginsimpl.local.ui.menus.MenuItemImpl |
addFillListener, addListener, addMultiListener, getData, getGraphic, getItem, getItems, getMenuID, getParent, getResourceKey, getStyle, getSubmenuBuilder, getText, invokeListenersMulti, invokeListenersOnList, invokeMenuWillBeShownListeners, isEnabled, isSelected, isVisible, removeAllChildItems, removeFillListener, removeListener, removeMultiListener, removeWithEvents, setContext, setData, setEnabled, setGraphic, setStyle, setSubmenuBuilder, setText, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.gudy.azureus2.plugins.ui.menus.MenuItem |
addFillListener, getData, getGraphic, getItem, getItems, getMenuID, getParent, getResourceKey, getStyle, getText, isEnabled, isSelected, isVisible, removeAllChildItems, removeFillListener, removeListener, removeMultiListener, setData, setEnabled, setGraphic, setStyle, setSubmenuBuilder, setText, setVisible |
TableContextMenuItemImpl
public TableContextMenuItemImpl(PluginInterface pi,
String tableID,
String key)
TableContextMenuItemImpl
public TableContextMenuItemImpl(TableContextMenuItemImpl ti,
String key)
getTableID
public String getTableID()
- Description copied from interface:
TableContextMenuItem
- Retrieve the Table ID that the menu item belongs to
- Specified by:
getTableID
in interface TableContextMenuItem
- Returns:
TableManager
.TABLE_ constant
remove
public void remove()
- Description copied from interface:
MenuItem
- Removes the menu item.
Calling this will remove the item from the menus, as well as removing all
listeners and removing all child menu items (if any exist).
The behaviour of this object is undefined after this method has been called.
If you need to interact with this object when you are about to destroy it,
you should do it before you call the remove method.
- Specified by:
remove
in interface MenuItem
- Overrides:
remove
in class MenuItemImpl