|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.pavlov.pluglets.feedback.random.DefaultVisualFeedbackMode
net.sourceforge.pavlov.pluglets.feedback.random.ExpertFeedbackMode
public class ExpertFeedbackMode
A feedback mode that is generous for right answers and draconian for wrong answers. Keeps track of "winning streaks."
| Field Summary | |
|---|---|
protected int |
nanswered
|
protected int |
oldSize
|
protected int |
streak
|
| Fields inherited from class net.sourceforge.pavlov.pluglets.feedback.random.DefaultVisualFeedbackMode |
|---|
decrement, increment, initialSize, message, minimumSize, name, size |
| Constructor Summary | |
|---|---|
ExpertFeedbackMode()
Creates a new ExpertFeedbackMode instance. |
|
| Method Summary | |
|---|---|
String |
getMessage()
Gives an encouraging message. |
String |
getShortName()
Gets a menu-friendly name for this mode. |
void |
rightEvent()
Increments the size, gives bonuses every 15 questions. |
String |
toString()
Gets a descriptive name for this mode. |
void |
wrongEvent()
Sets image size to minimum size. |
| Methods inherited from class net.sourceforge.pavlov.pluglets.feedback.random.DefaultVisualFeedbackMode |
|---|
getSize, setName, setSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int nanswered
protected int streak
protected int oldSize
| Constructor Detail |
|---|
public ExpertFeedbackMode()
ExpertFeedbackMode instance.
| Method Detail |
|---|
public String getMessage()
getMessage in class DefaultVisualFeedbackModeString valuepublic void rightEvent()
rightEvent in class DefaultVisualFeedbackModepublic void wrongEvent()
wrongEvent in class DefaultVisualFeedbackModepublic String getShortName()
getShortName in class DefaultVisualFeedbackModeString valuepublic String toString()
toString in class DefaultVisualFeedbackModeString value
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||