|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.qtitools.qti.attribute.AbstractAttribute
org.qtitools.qti.attribute.SingleAttribute
org.qtitools.qti.attribute.enumerate.NavigationModeAttribute
public class NavigationModeAttribute
Attribute with navigationMode value.
| Field Summary |
|---|
| Fields inherited from class org.qtitools.qti.attribute.AbstractAttribute |
|---|
logger |
| Constructor Summary | |
|---|---|
NavigationModeAttribute(XmlNode parent,
java.lang.String name)
Constructs attribute. |
|
NavigationModeAttribute(XmlNode parent,
java.lang.String name,
NavigationMode defaultValue)
Constructs attribute. |
|
NavigationModeAttribute(XmlNode parent,
java.lang.String name,
NavigationMode value,
NavigationMode defaultValue,
boolean required)
Constructs attribute. |
|
| Method Summary | |
|---|---|
NavigationMode |
getDefaultValue()
Gets default value of attribute. |
NavigationMode[] |
getSupportedValues()
Gets all supported values of this attribute. |
NavigationMode |
getValue()
Gets value of attribute. |
protected NavigationMode |
parseValue(java.lang.String value)
Parses value from given string. |
void |
setDefaultValue(NavigationMode defaultValue)
Sets new default value of attribute. |
void |
setValue(NavigationMode value)
Sets new value of attribute. |
| Methods inherited from class org.qtitools.qti.attribute.SingleAttribute |
|---|
defaultValueToString, load, load, setDefaultValue, setValue, valueToString |
| Methods inherited from class org.qtitools.qti.attribute.AbstractAttribute |
|---|
getFullName, getLoadedValue, getLoadingProblem, getName, getParent, isRequired, isSupported, setLoadedValue, setLoadingProblem, setSupported, toString, toXmlString, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.qtitools.qti.attribute.Attribute |
|---|
defaultValueToString, getFullName, getLoadedValue, getLoadingProblem, getName, getParent, isRequired, isSupported, load, load, setSupported, toXmlString, valueToString |
| Methods inherited from interface org.qtitools.qti.validation.Validatable |
|---|
validate |
| Constructor Detail |
|---|
public NavigationModeAttribute(XmlNode parent,
java.lang.String name)
parent - attribute's parentname - attribute's name
public NavigationModeAttribute(XmlNode parent,
java.lang.String name,
NavigationMode defaultValue)
parent - attribute's parentname - attribute's namedefaultValue - attribute's default value
public NavigationModeAttribute(XmlNode parent,
java.lang.String name,
NavigationMode value,
NavigationMode defaultValue,
boolean required)
parent - attribute's parentname - attribute's namevalue - attribute's valuedefaultValue - attribute's default valuerequired - is this attribute required| Method Detail |
|---|
public NavigationMode getValue()
SingleAttribute
getValue in class SingleAttributeSingleAttribute.setValue(java.lang.Object)public void setValue(NavigationMode value)
value - new value of attributegetValue()public NavigationMode getDefaultValue()
SingleAttribute
getDefaultValue in class SingleAttributeSingleAttribute.setDefaultValue(java.lang.Object)public void setDefaultValue(NavigationMode defaultValue)
defaultValue - new default value of attributegetDefaultValue()protected NavigationMode parseValue(java.lang.String value)
SingleAttribute
parseValue in class SingleAttributevalue - string value
public NavigationMode[] getSupportedValues()
getSupportedValues in interface EnumerateAttribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||