|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.pavlov.user.QuizCollection
public class QuizCollection
Data describing all the quizzes the user has taken on a given chapter.
Field Summary | |
---|---|
protected Vector<QuizData> |
quizzes
List of quizzes. |
Constructor Summary | |
---|---|
QuizCollection()
Creates a new QuizCollection instance. |
Method Summary | |
---|---|
void |
addQuiz(QuizData q)
Add a QuizData to the list. |
int |
getNumberOfQuizzes()
Number of quizzes in this collection. |
Vector |
getPercentages()
Returns a vector of EasyGraphDataItems representing quiz percentages in this collection. |
Vector |
getQuizzes()
Describe getQuizzes method here. |
QuizCollectionData |
getStatistics()
Returns descriptive statistics about these quizzes. |
void |
toXML(Writer writer)
Dumps these quizzes as XML to the given writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Vector<QuizData> quizzes
Constructor Detail |
---|
public QuizCollection()
QuizCollection
instance.
Method Detail |
---|
public Vector getQuizzes()
getQuizzes
method here.
Vector
valuepublic void addQuiz(QuizData q)
q
- a QuizData
valuepublic int getNumberOfQuizzes()
int
valuepublic QuizCollectionData getStatistics()
QuizCollectionData
valuepublic void toXML(Writer writer) throws IOException
writer
- a java.io.Writer
value
IOException
- if an error occurspublic Vector getPercentages()
Vector
value
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |