Class MasterBoard.BottomBar

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible
Enclosing class:
MasterBoard

class MasterBoard.BottomBar extends JPanel
  • Field Details

    • playerLabel

      private final JLabel playerLabel
    • doneButton

      private final JButton doneButton
      quick access button to the doneWithPhase action. must be en- and disabled often.
    • pauseButton

      private final JButton pauseButton
    • phaseLabel

      private final JLabel phaseLabel
      display the current phase in the bottom bar
    • todoLabel

      private final JLabel todoLabel
      Displays reasons why "Done" can not be used.
    • countLabel

      private final JLabel countLabel
  • Constructor Details

    • BottomBar

      public BottomBar()
  • Method Details

    • setPlayerName

      public void setPlayerName(String s)
    • setPlayerColor

      public void setPlayerColor(Color color)
    • setPhase

      public void setPhase(String s)
    • setPendingText

      public void setPendingText(String text)
    • setReasonForDisabledDone

      public void setReasonForDisabledDone(String reason)
    • setLegionsLeftToMuster

      public void setLegionsLeftToMuster(int legionCount)
    • setLegionsStatus

      public void setLegionsStatus(int[] legionStatus)
    • setLegionsLeftToMove

      public void setLegionsLeftToMove(int legionCount)
    • toggleSuspend

      public void toggleSuspend()