public void actionPerformed(ActionEvent paramActionEvent)
  {
    if (paramActionEvent.getActionCommand().compareTo("bay") == 0)
    {
      setState(0);

      return;
    }

    if (paramActionEvent.getActionCommand().compareTo("view") == 0)
    {
      setState(1);

      return;
    }

    if (paramActionEvent.getActionCommand().compareTo("options") == 0)
    {
      setState(2);
    }
  }