Package jadex.micro.quiz
Class QuizClientAgent.QuizGui
java.lang.Object
jadex.micro.quiz.QuizClientAgent.QuizGui
- Enclosing class:
QuizClientAgent
The quiz gui.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected ButtonGroup
protected JLabel
protected long
protected JFrame
protected JLabel
protected JLabel
protected JLabel
protected JLabel
protected JLabel
protected JTextArea
protected TimerPanel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Close the gui.void
setQuestion
(Question question) Set a questionvoid
Set a questionvoid
Set result.void
setTitle
(IQuizService quizser) Set the title.protected void
update()
Pack the component.
-
Field Details
-
f
-
qnamel
-
qsizel
-
qstartl
-
qdelayl
-
conl
-
ta
-
timerp
-
la
-
bg
-
delay
protected long delay -
answered
protected boolean answered
-
-
Constructor Details
-
QuizGui
public QuizGui()Create a new quiz gui.
-
-
Method Details
-
setQuiz
Set a question -
setQuestion
Set a question -
setResult
Set result. -
setTitle
Set the title. -
dispose
public void dispose()Close the gui. -
update
protected void update()Pack the component.
-