|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.node.AbstractNode
org.qtitools.qti.node.AbstractObject
org.qtitools.qti.node.item.ModalFeedback
public class ModalFeedback
Modal Feedback: i.e. feedback possibly presented in a dialog box, which stops any interaction whilst displayed
| Field Summary | |
|---|---|
static java.lang.String |
ATTR_IDENTIFIER_NAME
Name of identifier attribute in xml schema. |
static java.lang.String |
ATTR_OUTCOME_IDENTIFIER_NAME
Name of outcomeIdentifier attribute in xml schema. |
static java.lang.String |
ATTR_TITLE_NAME
Name of title attribute in xml schema. |
static java.lang.String |
ATTR_VISIBILITY_MODE_NAME
Name of showHide attribute in xml schema. |
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Fields inherited from interface org.qtitools.qti.node.XmlNode |
|---|
INDENT, NEW_LINE, SIMPLE_NAME_INNER_SEPARATOR, SIMPLE_NAMES_SEPARATOR |
| Constructor Summary | |
|---|---|
ModalFeedback(AssessmentItem parent)
Constructs object. |
|
| Method Summary | |
|---|---|
java.util.List<FlowStatic> |
getChildren()
Gets the children of this element. |
java.lang.String |
getClassTag()
Gets QTI class name of this node. |
java.lang.String |
getOutcomeIdentifier()
Gets value of outcomeIdentifier attribute. |
java.lang.String |
getOutcomeValue()
Gets value of identifier attribute. |
VisibilityMode |
getVisibilityMode()
Gets value of showHide attribute. |
boolean |
isVisible()
Returns true if this feedback can be displayed. |
void |
setOutcomeIdentifier(java.lang.String outcomeIdentifier)
Sets new value of outcomeIdentifier attribute. |
void |
setOutcomeValue(java.lang.String outcomeValue)
Sets new value of identifier attribute. |
void |
setVisibilityMode(VisibilityMode visibilityMode)
Sets new value of showHide attribute. |
ValidationResult |
validateAttributes()
Validates attributes of this node. |
protected ValidationResult |
validateChildren()
Validates children (body) of this node. |
| Methods inherited from class org.qtitools.qti.node.AbstractObject |
|---|
getParent, getParentItem, getParentResult, getParentTest, setParent |
| Methods inherited from class org.qtitools.qti.node.AbstractNode |
|---|
attrToXmlString, bodyToXmlString, getAttributes, getFullName, getIndent, getNode, getNode, getNode, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, loadAttributes, readChild, readChildren, setParent, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.qtitools.qti.node.XmlNode |
|---|
getAttributes, getFullName, getNodeGroups, getParentRoot, getSimpleName, getSourceFile, getSourceNode, getSourceString, getSourceUrl, hasChildNodes, load, load, load, load, setSourceFile, setSourceNode, setSourceString, setSourceUrl, toXmlString, toXmlString |
| Methods inherited from interface org.qtitools.qti.validation.Validatable |
|---|
validate |
| Field Detail |
|---|
public static final java.lang.String CLASS_TAG
public static final java.lang.String ATTR_OUTCOME_IDENTIFIER_NAME
public static final java.lang.String ATTR_VISIBILITY_MODE_NAME
public static final java.lang.String ATTR_IDENTIFIER_NAME
public static final java.lang.String ATTR_TITLE_NAME
| Constructor Detail |
|---|
public ModalFeedback(AssessmentItem parent)
parent - parent of constructed object| Method Detail |
|---|
public java.lang.String getClassTag()
XmlNodeQTI class name has very important role during loading/saving nodes.
For example: Java class name is AssessmentTest; QTI class name is assessmentTest.
getClassTag in interface XmlNodegetClassTag in class AbstractNodepublic java.util.List<FlowStatic> getChildren()
public VisibilityMode getVisibilityMode()
setVisibilityMode(org.qtitools.qti.node.test.VisibilityMode)public void setVisibilityMode(VisibilityMode visibilityMode)
visibilityMode - new value of showHide attributegetVisibilityMode()public java.lang.String getOutcomeIdentifier()
setOutcomeIdentifier(java.lang.String)public void setOutcomeIdentifier(java.lang.String outcomeIdentifier)
outcomeIdentifier - new value of outcomeIdentifier attributegetOutcomeIdentifier()public java.lang.String getOutcomeValue()
setOutcomeValue(java.lang.String)public void setOutcomeValue(java.lang.String outcomeValue)
outcomeValue - new value of identifier attributegetOutcomeValue()public ValidationResult validateAttributes()
AbstractNode
validateAttributes in class AbstractNodeprotected ValidationResult validateChildren()
AbstractNode
validateChildren in class AbstractNodepublic boolean isVisible()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||