org.gudy.azureus2.pluginsimpl.local.ui.tables
Class TableContextMenuItemImpl

java.lang.Object
  extended by org.gudy.azureus2.pluginsimpl.local.ui.menus.MenuItemImpl
      extended by org.gudy.azureus2.pluginsimpl.local.ui.tables.TableContextMenuItemImpl
All Implemented Interfaces:
MenuItem, TableContextMenuItem

public class TableContextMenuItemImpl
extends MenuItemImpl
implements TableContextMenuItem


Field Summary
 
Fields inherited from interface org.gudy.azureus2.plugins.ui.menus.MenuItem
STYLE_CHECK, STYLE_MENU, STYLE_PUSH, STYLE_RADIO, STYLE_SEPARATOR
 
Constructor Summary
TableContextMenuItemImpl(PluginInterface pi, String tableID, String key)
           
TableContextMenuItemImpl(TableContextMenuItemImpl ti, String key)
           
 
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.tables.TableContextMenuItem
addListener, addMultiListener
 
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
 

Constructor Detail

TableContextMenuItemImpl

public TableContextMenuItemImpl(PluginInterface pi,
                                String tableID,
                                String key)

TableContextMenuItemImpl

public TableContextMenuItemImpl(TableContextMenuItemImpl ti,
                                String key)
Method Detail

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