|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.webapp.feedback.FeedbackContainer
public class FeedbackContainer
This class is a container object for suggestions made by the feedback mechanism. It manages a small history of hints.
| Constructor Summary | |
|---|---|
FeedbackContainer()
|
|
| Method Summary | |
|---|---|
void |
addHint(Therapy t)
adds the given Therapy as a hint to this FeedbackContainer. |
void |
checkExpired()
checks if the current hint is expired. |
Therapy |
getHint()
returns the current hint (Therapy object). |
Therapy |
getHintFromHistory(int pos)
Returns the hint at position pos from the hint history. |
List |
getOldHints()
returns the hint history as List of hints. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FeedbackContainer()
| Method Detail |
|---|
public void addHint(Therapy t)
Therapy as a hint to this FeedbackContainer.
t - public Therapy getHint()
null if there is none.
null if there is none.public Therapy getHintFromHistory(int pos)
pos from the hint history.null if there is no hint at that position.
pos - the position of the desired hint in the hint history
pos, or null if there was none.public List getOldHints()
public void checkExpired()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||