Class QuizClientAgent.QuizGui

java.lang.Object
jadex.micro.quiz.QuizClientAgent.QuizGui
Enclosing class:
QuizClientAgent

public class QuizClientAgent.QuizGui extends Object
The quiz gui.
  • Field Details

    • f

      protected JFrame f
    • qnamel

      protected JLabel qnamel
    • qsizel

      protected JLabel qsizel
    • qstartl

      protected JLabel qstartl
    • qdelayl

      protected JLabel qdelayl
    • conl

      protected JLabel conl
    • ta

      protected JTextArea ta
    • timerp

      protected TimerPanel timerp
    • la

      protected JLabel la
    • bg

      protected ButtonGroup bg
    • delay

      protected long delay
    • answered

      protected boolean answered
  • Constructor Details

    • QuizGui

      public QuizGui()
      Create a new quiz gui.
  • Method Details

    • setQuiz

      public void setQuiz(String name, long delay, int size, long start)
      Set a question
    • setQuestion

      public void setQuestion(Question question)
      Set a question
    • setResult

      public void setResult(String result)
      Set result.
    • setTitle

      public void setTitle(IQuizService quizser)
      Set the title.
    • dispose

      public void dispose()
      Close the gui.
    • update

      protected void update()
      Pack the component.