|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgoanim.primitives.generators.Generator
algoanim.animalscript.AnimalGenerator
algoanim.animalscript.AVInteractionTextGenerator
public class AVInteractionTextGenerator
| Field Summary |
|---|
| Fields inherited from class algoanim.primitives.generators.Generator |
|---|
lang |
| Constructor Summary | |
|---|---|
AVInteractionTextGenerator(AnimalScript as)
|
|
AVInteractionTextGenerator(AnimalScript as,
java.lang.String key)
|
|
| Method Summary | |
|---|---|
void |
createDocumentationLink(DocumentationLink docuLink)
Creates the script code for a given TrueFalseQuestion |
void |
createDocumentationLinkCode(DocumentationLink docuLink)
|
void |
createFIBQuestion(FillInBlanksQuestion q)
Creates the script code for a given FillInBlanksQuestion |
void |
createFIBQuestionCode(FillInBlanksQuestion fibQuestion)
|
void |
createGroupInfoCode(GroupInfo group)
|
void |
createInteractiveElementCode(InteractiveElement element)
creates the actual code for representing an interactive element |
void |
createMCQuestion(MultipleChoiceQuestion mcQuestion)
Creates the script code for a given MultipleChoiceQuestion |
void |
createMCQuestionCode(MultipleChoiceQuestion mcQuestion)
|
void |
createMSQuestion(MultipleSelectionQuestion msQuestion)
Creates the script code for a given MultipleSelectionQuestion |
void |
createMSQuestionCode(MultipleSelectionQuestion msQuestion)
|
void |
createTFQuestion(TrueFalseQuestion q)
Creates the script code for a given TrueFalseQuestion |
void |
createTFQuestionCode(TrueFalseQuestion tfQuestion)
|
void |
finalizeInteractiveElements()
finalize the writing of the interaction components |
| Methods inherited from class algoanim.animalscript.AnimalGenerator |
|---|
addBooleanOption, addBooleanSwitch, addColorOption, addColorOption, addFontOption, addFontOption, addIntOption, addWithTiming, changeColor, exchange, hide, makeColorDef, makeColorDef, makeDisplayOptionsDef, makeDisplayOptionsDef, makeDurationTimingDef, makeHiddenDef, makeNodeDef, makeOffsetTimingDef, moveBy, moveTo, moveVia, rotate, rotate, show |
| Methods inherited from class algoanim.primitives.generators.Generator |
|---|
getLanguage, isNameUsed, isValidDirection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface algoanim.primitives.generators.GeneratorInterface |
|---|
changeColor, exchange, getLanguage, hide, moveBy, moveTo, moveVia, rotate, rotate, show |
| Constructor Detail |
|---|
public AVInteractionTextGenerator(AnimalScript as)
public AVInteractionTextGenerator(AnimalScript as,
java.lang.String key)
| Method Detail |
|---|
public void createInteractiveElementCode(InteractiveElement element)
InteractiveElementGenerator
createInteractiveElementCode in interface InteractiveElementGeneratorelement - the element to be generatedpublic void createDocumentationLink(DocumentationLink docuLink)
InteractiveElementGeneratorTrueFalseQuestion
createDocumentationLink in interface InteractiveElementGeneratordocuLink - the TrueFalseQuestion for which the code is to
be generatedpublic void createDocumentationLinkCode(DocumentationLink docuLink)
public void createGroupInfoCode(GroupInfo group)
public void createTFQuestion(TrueFalseQuestion q)
InteractiveElementGeneratorTrueFalseQuestion
createTFQuestion in interface InteractiveElementGeneratorq - the TrueFalseQuestion for which
the code is to be generatedpublic void createTFQuestionCode(TrueFalseQuestion tfQuestion)
public void createFIBQuestion(FillInBlanksQuestion q)
InteractiveElementGeneratorFillInBlanksQuestion
createFIBQuestion in interface InteractiveElementGeneratorq - the FillInBlanksQuestion for which
the code is to be generatedpublic void createFIBQuestionCode(FillInBlanksQuestion fibQuestion)
public void createMCQuestion(MultipleChoiceQuestion mcQuestion)
InteractiveElementGeneratorMultipleChoiceQuestion
createMCQuestion in interface InteractiveElementGeneratormcQuestion - the TrueFalseQuestion for which
the code is to be generatedpublic void createMCQuestionCode(MultipleChoiceQuestion mcQuestion)
public void createMSQuestion(MultipleSelectionQuestion msQuestion)
InteractiveElementGeneratorMultipleSelectionQuestion
createMSQuestion in interface InteractiveElementGeneratormsQuestion - the TrueFalseQuestion for which
the code is to be generatedpublic void createMSQuestionCode(MultipleSelectionQuestion msQuestion)
public void finalizeInteractiveElements()
finalizeInteractiveElements in interface InteractiveElementGenerator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||