|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.group.AbstractNodeGroup
org.qtitools.qti.group.content.AbstractContentNodeGroup
org.qtitools.qti.group.item.interaction.choice.GapChoiceGroup
public class GapChoiceGroup
Group of gapChoice children.
| Constructor Summary | |
|---|---|
GapChoiceGroup(XmlNode parent)
Constructs group. |
|
GapChoiceGroup(XmlNode parent,
java.lang.Integer minimum)
Constructs group. |
|
| Method Summary | |
|---|---|
GapChoice |
create(java.lang.String classTag)
Creates child with given QTI class name. |
GapChoice |
getGapChoice()
Gets child. |
java.util.List<GapChoice> |
getGapChoices()
Gets list of all children. |
XmlObject |
getParent()
Gets parent node of group. |
boolean |
isGeneral()
Returns true if group can contain children with different QTI class name; false otherwise. |
void |
setGapChoice(GapChoice gapChoice)
Sets new child. |
| Methods inherited from class org.qtitools.qti.group.content.AbstractContentNodeGroup |
|---|
load |
| Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup |
|---|
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, setChild, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GapChoiceGroup(XmlNode parent)
parent - parent of created group
public GapChoiceGroup(XmlNode parent,
java.lang.Integer minimum)
parent - parent of created groupminimum - minimum number of children| Method Detail |
|---|
public XmlObject getParent()
NodeGroup
getParent in interface NodeGroupgetParent in class AbstractNodeGrouppublic boolean isGeneral()
NodeGroup
isGeneral in interface NodeGroupisGeneral in class AbstractNodeGrouppublic GapChoice getGapChoice()
setGapChoice(org.qtitools.qti.node.item.interaction.choice.GapChoice)public void setGapChoice(GapChoice gapChoice)
gapChoice - new childgetGapChoice()public java.util.List<GapChoice> getGapChoices()
public GapChoice create(java.lang.String classTag)
Parameter classTag is needed only if group can contain children with different QTI class names.
classTag - QTI class name (this parameter is needed)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||