|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uka.ipd.consensus.foundation.scoring.ScoringAdapter
An adapter class for receiving scoring events. The methods in this class are empty. This class exists for convenience for creating listener objects if you only need one of the two listener's methods.
Constructor Summary | |
ScoringAdapter()
|
Method Summary | |
void |
score(ScoringEvent event)
In this method a ScoringListener can change the user's score. |
void |
scored(ScoringEvent event)
This method is called after all listener's score() methods have been called for this ScoringEvent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScoringAdapter()
Method Detail |
public void score(ScoringEvent event)
ScoringListener
score
in interface ScoringListener
User.getScore()
,
User.setScore(double)
public void scored(ScoringEvent event)
ScoringListener
This method is called after all listener's score()
methods have been called for this ScoringEvent.
Do not change the user's score here! This method is intended to be used for calculations based upon the finished scoring for this ScoringEvent, e.g. calculating the user's roles/rights.
scored
in interface ScoringListener
User.getScore()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |