*
* @param e the KeyEvent representing the key that was typed.
*/
public void keyPressed(KeyEvent e) {
int key = e.getKeyCode();
EditStatus editStatus = application.getEditStatus();
Picture picture = application.getPicture();
if (editStatus.isEgoTestEnabled()) {
// If Ego Test mode enabled, delegate to the EgoTestHandler.
this.egoTestHandler.handleKeyEvent(e);
} else {
// Handle picture buffer navigation keys.