|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextMenuItemManipulator
This interface defines a common extension for the manipulators that appear as context menu items such as NodesManipulator, EdgesManipulator and GraphContextMenuItem (from Visualization API)
NodesManipulator
Method Summary | |
---|---|
java.lang.Integer |
getMnemonicKey()
Optional. |
ContextMenuItemManipulator[] |
getSubItems()
This is optional. |
boolean |
isAvailable()
Indicates if this item has to appear in the context menu at all |
Methods inherited from interface org.gephi.datalab.spi.Manipulator |
---|
canExecute, execute, getDescription, getIcon, getName, getPosition, getType, getUI |
Method Detail |
---|
ContextMenuItemManipulator[] getSubItems()
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)
boolean isAvailable()
java.lang.Integer getMnemonicKey()
KeyEvent
values or null
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |