|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.uka.ipd.consensus.foundation.rating.RatingAdapter
An adapter class for receiving rating events. The methods in this class are empty. This class exists for convenience for creating listener objects if you don't want to implement all of the listener's methods.
Constructor Summary | |
RatingAdapter()
|
Method Summary | |
void |
conceptRatingChanged(RatingEvent event)
Called by the RatingManager when an existing concept's rating was changed. |
void |
conceptRatingRemoved(RatingEvent event)
Called by the RatingManager when a concept's rating was removed. |
void |
conceptRatingSet(RatingEvent event)
Called by the RatingManager when a new rating was added to a concept. |
void |
userRatingChanged(RatingEvent event)
Called by the RatingManager when an existing user's rating was changed. |
void |
userRatingRemoved(RatingEvent event)
Called by the RatingManager when a user's rating was removed. |
void |
userRatingSet(RatingEvent event)
Called by the RatingManager when a new rating was added to an user. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RatingAdapter()
Method Detail |
public void conceptRatingSet(RatingEvent event)
RatingListener
conceptRatingSet
in interface RatingListener
event
- the RatingEvent object containing the user, his rating and the rated conceptpublic void userRatingSet(RatingEvent event)
RatingListener
userRatingSet
in interface RatingListener
event
- the RatingEvent object containing the rating user, his rating and the rated userpublic void conceptRatingChanged(RatingEvent event)
RatingListener
conceptRatingChanged
in interface RatingListener
event
- the RatingEvent object containing the user, his rating and the rated conceptpublic void userRatingChanged(RatingEvent event)
RatingListener
userRatingChanged
in interface RatingListener
event
- the RatingEvent object containing the rating user, his rating and the rated userpublic void conceptRatingRemoved(RatingEvent event)
RatingListener
conceptRatingRemoved
in interface RatingListener
event
- the RatingEvent object containing the user, the removed rating and the rated conceptpublic void userRatingRemoved(RatingEvent event)
RatingListener
userRatingRemoved
in interface RatingListener
event
- the RatingEvent object containing the user, the removed rating and the rated user
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |