|
||||||||||
| 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.block.InteractionGroup
public class InteractionGroup
Group of interaction children.
| Constructor Summary | |
|---|---|
InteractionGroup(BodyElement parent)
Constructs group. |
|
| Method Summary | |
|---|---|
Interaction |
create(java.lang.String classTag)
Creates child with given QTI class name. |
Interaction |
getInteraction()
Gets child. |
java.util.List<Interaction> |
getInteractions()
Gets list of all children. |
BodyElement |
getParent()
Gets parent node of group. |
boolean |
isGeneral()
Returns true if group can contain children with different QTI class name; false otherwise. |
void |
setInteraction(Interaction interaction)
Sets new child. |
| Methods inherited from class org.qtitools.qti.group.AbstractNodeGroup |
|---|
getAllSupportedClasses, getChild, getChildren, getCurrentSupportedClasses, getFullName, getMaximum, getMinimum, getName, load, setChild, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InteractionGroup(BodyElement parent)
parent - parent of created group| Method Detail |
|---|
public BodyElement getParent()
NodeGroup
getParent in interface NodeGroupgetParent in class AbstractNodeGrouppublic boolean isGeneral()
NodeGroup
isGeneral in interface NodeGroupisGeneral in class AbstractNodeGrouppublic Interaction getInteraction()
setInteraction(org.qtitools.qti.node.item.interaction.Interaction)public void setInteraction(Interaction interaction)
interaction - new childgetInteraction()public java.util.List<Interaction> getInteractions()
public Interaction 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 | |||||||||