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 booleanprotected ButtonGroupprotected JLabelprotected longprotected JFrameprotected JLabelprotected JLabelprotected JLabelprotected JLabelprotected JLabelprotected JTextAreaprotected TimerPanel -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Close the gui.voidsetQuestion(Question question) Set a questionvoidSet a questionvoidSet result.voidsetTitle(IQuizService quizser) Set the title.protected voidupdate()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.
-