|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<VisibilityMode>
org.qtitools.qti.node.test.VisibilityMode
public enum VisibilityMode
The VisibilityMode determines how the visibility of the feedback is controlled.
SHOW_IF_MATCH - the feedback is hidden by default and shown only if the associated outcome variable matches, or contains, the value of the identifier attribute.
HIDE_IF_MATCH - the feedback is shown by default and hidden only if the associated outcome variable matches, or contains, the value of the identifier attribute.
This class is referred as showHide in specification.
| Enum Constant Summary | |
|---|---|
HIDE_IF_MATCH
Feedback is shown only if outcome variable doesn't match the value of identifier attribute. |
|
SHOW_IF_MATCH
Feedback is shown only if outcome variable matches the value of identifier attribute. |
|
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_TAG
Name of this class in xml schema. |
| Method Summary | |
|---|---|
static VisibilityMode |
parseVisibilityMode(java.lang.String visibilityMode)
Returns parsed VisibilityMode from given String. |
java.lang.String |
toString()
|
static VisibilityMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VisibilityMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final VisibilityMode SHOW_IF_MATCH
public static final VisibilityMode HIDE_IF_MATCH
| Field Detail |
|---|
public static final java.lang.String CLASS_TAG
| Method Detail |
|---|
public static final VisibilityMode[] values()
for(VisibilityMode c : VisibilityMode.values())
System.out.println(c);
public static VisibilityMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic java.lang.String toString()
toString in class java.lang.Enum<VisibilityMode>
public static VisibilityMode parseVisibilityMode(java.lang.String visibilityMode)
throws QTIParseException
VisibilityMode from given String.
visibilityMode - String representation of VisibilityMode
VisibilityMode from given String
QTIParseException - if given String is not valid VisibilityMode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||