|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.ims.qti.editor.beecom.objects.Control
public class Control
| Field Summary | |
|---|---|
static int |
CTRL_NO
|
static int |
CTRL_UNDEF
|
static int |
CTRL_YES
|
| Constructor Summary | |
|---|---|
Control()
|
|
Control(int feedback,
int hint,
int solution)
Constructor for Switches. |
|
Control(java.lang.String feedback,
java.lang.String hint,
java.lang.String solution)
|
|
| Method Summary | |
|---|---|
void |
addToElement(org.dom4j.Element root)
|
int |
getFeedback()
|
int |
getHint()
|
int |
getSolution()
|
java.lang.String |
getView()
Returns the view. |
boolean |
isFeedback()
Returns the feedback. |
boolean |
isHint()
Returns the hints. |
boolean |
isSolution()
Returns the solutions. |
void |
setFeedback(int feedback)
Sets the feedback. |
void |
setHint(int hint)
Sets the hints. |
void |
setSolution(int solution)
Sets the solutions. |
void |
setSwitches(int feedback,
int hint,
int solution)
|
void |
setSwitches(java.lang.String feedback,
java.lang.String hint,
java.lang.String solution)
|
void |
setView(java.lang.String view)
Sets the view. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int CTRL_UNDEF
public static final int CTRL_YES
public static final int CTRL_NO
| Constructor Detail |
|---|
public Control()
public Control(int feedback,
int hint,
int solution)
public Control(java.lang.String feedback,
java.lang.String hint,
java.lang.String solution)
| Method Detail |
|---|
public void setSwitches(int feedback,
int hint,
int solution)
public void setSwitches(java.lang.String feedback,
java.lang.String hint,
java.lang.String solution)
public void addToElement(org.dom4j.Element root)
addToElement in interface QTIObjectorg.olat.ims.qti.editor.beecom.QTIObject#addToElement(org.dom4j.Element)public boolean isFeedback()
public boolean isHint()
public boolean isSolution()
public void setFeedback(int feedback)
feedback - The feedback to setpublic void setHint(int hint)
hints - The hints to setpublic void setSolution(int solution)
solutions - The solutions to setpublic java.lang.String getView()
public void setView(java.lang.String view)
view - The view to setpublic int getFeedback()
public int getHint()
public int getSolution()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||