|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.tatool.core.data.Question
public class Question
Helper Class with getter and setter methods for properties concerning trial questions and answers.
| Field Summary | |
|---|---|
static String |
PROPERTY_ANSWER
Property name used to set the answer value. |
static String |
PROPERTY_QUESTION
Property name used to set the question value. |
static String |
PROPERTY_RESPONSE
Property name used to set the response value. |
| Method Summary | |
|---|---|
static ObjectProperty |
getAnswerProperty()
Gets the answerProperty, which represents the correct answer, as a ObjectProperty. |
static StringProperty |
getQuestionProperty()
Gets the questionProperty as a StringProperty. |
static ObjectProperty |
getResponseProperty()
Gets the responseProperty, which represents the given response of a user, as an ObjectProperty. |
static void |
setAnswer(Node node,
Object answer)
Helper Method to set the answer of a element trial. |
static void |
setAnswerProperty(ObjectProperty answerProperty)
Sets the answerProperty, which represents the correct answer, as an ObjectProperty. |
static void |
setQuestionAnswer(Node node,
String question,
Object answer)
Helper Method to set the question and answer of a element trial. |
static void |
setQuestionProperty(StringProperty questionProperty)
Sets the questionProperty as a StringProperty. |
static void |
setResponseProperty(ObjectProperty responseProperty)
Sets the responseProperty, which represents the given response of a user, as an ObjectProperty. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROPERTY_QUESTION
public static final String PROPERTY_ANSWER
public static final String PROPERTY_RESPONSE
| Method Detail |
|---|
public static StringProperty getQuestionProperty()
public static ObjectProperty getAnswerProperty()
public static ObjectProperty getResponseProperty()
public static void setQuestionProperty(StringProperty questionProperty)
questionProperty - the StringProperty that will be setpublic static void setAnswerProperty(ObjectProperty answerProperty)
answerProperty - the ObjectProperty that will be setpublic static void setResponseProperty(ObjectProperty responseProperty)
responseProperty - the ObjectProperty that will be set
public static void setQuestionAnswer(Node node,
String question,
Object answer)
node - question - answer -
public static void setAnswer(Node node,
Object answer)
node - answer -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||