org.graphstream.ui.swingViewer.util
Interface ShortcutManager

All Superinterfaces:
EventListener, KeyListener
All Known Implementing Classes:
DefaultShortcutManager

public interface ShortcutManager
extends KeyListener

Utility to centralise the shortcuts and actions for all view instances.


Method Summary
 void init(GraphicGraph graph, View view)
          Make the manager active on the given graph and view.
 void release()
          Release the links between this manager and the view and the graph.
 
Methods inherited from interface java.awt.event.KeyListener
keyPressed, keyReleased, keyTyped
 

Method Detail

init

void init(GraphicGraph graph,
          View view)
Make the manager active on the given graph and view.

Parameters:
graph - The graph to control.
view - The view to control.

release

void release()
Release the links between this manager and the view and the graph.



Copyright © 2013. All Rights Reserved.