de.saar.chorus.ubench
Interface DomGraphPopupListener
- All Known Implementing Classes:
- DummyPopupListener
public interface DomGraphPopupListener
Listeners that implement this interface can be registered in a JDomGraph
object to be called every time the user selects an item from a popup menu.
- Author:
- Alexander Koller
Method Summary |
void |
popupSelected(DefaultGraphCell source,
Fragment fragment,
String menuItem)
Process a popup-selection event. |
popupSelected
void popupSelected(DefaultGraphCell source,
Fragment fragment,
String menuItem)
- Process a popup-selection event. This method is called for each
registered listener whenever the user clicks on a popup menu item.
- Parameters:
source
- the node or edge to which the popup menu belonged.fragment
- the fragment to which this node or edge belonged (or null).menuItem
- the label of the menu item that the user selected.