@Override
	public void mousePressed(MouseEvent e) {
		if (e.getButton() == MouseEvent.BUTTON1)
			switch (state) {
			case INSPECTED:
				state = State.SELECTED;
				gui.viewOverView();
				break;
			case SELECTED:
				state = State.MOUSEOVER;
				break;
			case MOUSEOVER:
				state = State.SELECTED;
				break;
			}
		else if (e.getButton() == MouseEvent.BUTTON3) {
			if (state == State.MOUSEOVER || state == State.SELECTED) {
				state = State.INSPECTED;
				gui.inspect(this);
			} else {
				gui.viewOverView();
				state = State.MOUSEOVER;
			}
		}
		repaint();
	}