@Override
	@UiHandler("focusCatcher")
	public void onKeyDown(final KeyDownEvent event) {
		if (event.getNativeKeyCode() == KeyCodes.KEY_RIGHT) {
			photoSelector.next();
		} else if (event.getNativeKeyCode() == KeyCodes.KEY_LEFT) {
			slideShow.stop();
			photoSelector.prev();
		} else if (event.getNativeKeyCode() == KeyCodes.KEY_ENTER) {
			slideShow.trigger();
		} else if (event.getNativeKeyCode() == 187) {
			slideShow.increaseDelay();
		} else if (event.getNativeKeyCode() == 189) {
			slideShow.decreaseDelay();
		} else if (event.getNativeKeyCode() == KeyCodes.KEY_HOME) {
			photoSelector.select();
		} else if (event.getNativeKeyCode() == KeyCodes.KEY_END) {
			photoSelector.end();
		} else if (event.getNativeKeyCode() == 67) {
			// if (main.getWidget() == photoBrowser) {
			// main.setWidget(managerWidget);
			// } else {
			// main.setWidget(photoBrowser);
			// }
		}
		// System.out.println("KEY:" + event.getNativeKeyCode() +
		// ":CTRL:" + event.isControlKeyDown());
	}