public interface ContextMenuItemManipulator extends Manipulator
This interface defines a common extension for the manipulators that appear as context menu items such as NodesManipulator, EdgesManipulator and GraphContextMenuItem (from Visualization API)
|Modifier and Type||Method and Description|
This is optional.
Indicates if this item has to appear in the context menu at all
This is optional. Return sub items for this menu item if desired.
If this item should contain more items, return a new instance of each sub item. If not return null and implement execute for this item.
In order to declare mnemonic keys for subitem(s), the implementation of this item must return the subitem(s) with the mnemonic even when it has not been setup. If you don't need a mnemonic, return null if the item is not setup.
Returned items have to be of the same type as the subinterface (NodesManipulator for example)
KeyEventvalues or null
Copyright © 2007–2017. All rights reserved.