(KeyEvent e)
| 717 | } |
| 718 | |
| 719 | public void keyTyped(KeyEvent e) { |
| 720 | char keyChar = e.getKeyChar(); |
| 721 | int flags = e.getModifiers(); |
| 722 | //if (IJ.debugMode) IJ.log("keyTyped: char=\"" + keyChar + "\" (" + (int)keyChar |
| 723 | // + "), flags= "+Integer.toHexString(flags)+ " ("+KeyEvent.getKeyModifiersText(flags)+")"); |
| 724 | if (keyChar=='\\' || keyChar==171 || keyChar==223) { |
| 725 | if (((flags&Event.ALT_MASK)!=0)) |
| 726 | doCommand("Animation Options..."); |
| 727 | else |
| 728 | doCommand("Start Animation [\\]"); |
| 729 | } |
| 730 | } |
| 731 | |
| 732 | public void keyReleased(KeyEvent e) { |
| 733 | IJ.setKeyUp(e.getKeyCode()); |
nothing calls this directly
no test coverage detected