public class UserFeedbackLevelListener extends NodeImpl implements PointsAndLevelHandler.LevelListener
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_DISPLAY_DURATION |
| Constructor and Description |
|---|
UserFeedbackLevelListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDisplayDuration() |
protected void |
insertLevelChangeInformationElement(ExecutionContext context,
int levelChange)
Displays a visual level change.
|
void |
levelChanged(PointsAndLevelHandler handler,
ExecutionContext context)
Implementors get called by the PointsAndLevelHandler whenever the level changes.
|
void |
setDisplayDuration(int displayDuration) |
assignParent, assignParent, assignParents, getId, getLocalId, getParent, setId, setLocalId, setParentclearProperties, getKeys, getProperty, removeProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearProperties, getKeys, getProperty, removeProperty, setPropertypublic static final String PROPERTY_DISPLAY_DURATION
public void levelChanged(PointsAndLevelHandler handler, ExecutionContext context)
PointsAndLevelHandler.LevelListenerlevelChanged in interface PointsAndLevelHandler.LevelListenercontext - the ExecutionContextprotected void insertLevelChangeInformationElement(ExecutionContext context, int levelChange)
public void setDisplayDuration(int displayDuration)
public int getDisplayDuration()
Copyright © 2012. All Rights Reserved.