Package net.ontopia.topicmaps.viz
Class NavigateUI
java.lang.Object
com.touchgraph.graphlayout.interaction.TGUserInterface
net.ontopia.topicmaps.viz.NavigateUI
public class NavigateUI
extends com.touchgraph.graphlayout.interaction.TGUserInterface
INTERNAL.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()voidaddMenuItem(JPopupMenu menu, JMenuItem item, String itemId) Add a given menu item to a given menu.voidprotected booleanTest if the menu item with the given ID is enabled.Methods inherited from class com.touchgraph.graphlayout.interaction.TGUserInterface
activate, isActive
-
Field Details
-
ITEM_ID_EXPAND_NODE
- See Also:
-
ITEM_ID_COLLAPSE_NODE
- See Also:
-
ITEM_ID_HIDE_NODE
- See Also:
-
ITEM_ID_STICKY
- See Also:
-
ITEM_ID_PROPERTIES
- See Also:
-
ITEM_ID_SET_START_TOPIC
- See Also:
-
ITEM_ID_COPY_NAME
- See Also:
-
ITEM_ID_GO_TO_TOPIC_PAGE
- See Also:
-
ITEM_ID_HIDE_EDGE
- See Also:
-
stickyMenu
-
-
Constructor Details
-
NavigateUI
-
-
Method Details
-
activate
public void activate()- Specified by:
activatein classcom.touchgraph.graphlayout.interaction.TGUserInterface
-
deactivate
public void deactivate()- Overrides:
deactivatein classcom.touchgraph.graphlayout.interaction.TGUserInterface
-
addMenuItem
Add a given menu item to a given menu.- Parameters:
menu- The menu to holde the menu item.item- The menu item.itemId- ID for testing if the item is enabled.
-
isEnabled
Test if the menu item with the given ID is enabled.- Parameters:
itemId- The ID of the menu item.- Returns:
- true iff the item is enabled.
-