|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.graphstream.ui.swingViewer.util.DefaultShortcutManager
public class DefaultShortcutManager
Constructor Summary | |
---|---|
DefaultShortcutManager()
|
Method Summary | |
---|---|
void |
init(GraphicGraph graph,
View view)
Make the manager active on the given graph and view. |
void |
keyPressed(KeyEvent event)
A key has been pressed. |
void |
keyReleased(KeyEvent event)
A key has been pressed. |
void |
keyTyped(KeyEvent event)
A key has been typed. |
void |
release()
Release the links between this manager and the view and the graph. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultShortcutManager()
Method Detail |
---|
public void init(GraphicGraph graph, View view)
ShortcutManager
init
in interface ShortcutManager
graph
- The graph to control.view
- The view to control.public void release()
ShortcutManager
release
in interface ShortcutManager
public void keyPressed(KeyEvent event)
keyPressed
in interface KeyListener
event
- The event that generated the key.public void keyReleased(KeyEvent event)
keyReleased
in interface KeyListener
event
- The event that generated the key.public void keyTyped(KeyEvent event)
keyTyped
in interface KeyListener
event
- The event that generated the key.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |