org.olat.core.gui.components.rating
Class RatingEvent

java.lang.Object
  extended by org.olat.core.gui.control.Event
      extended by org.olat.core.gui.components.rating.RatingEvent
All Implemented Interfaces:
java.io.Serializable

public class RatingEvent
extends Event

Description:
The rating event is fired by the RatingComponent when a new rating is made

Initial Date: 31.10.2008

Author:
gnaegi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.olat.core.gui.control.Event
BACK_EVENT, CANCELLED_EVENT, CHANGED_EVENT, DONE_EVENT, FAILED_EVENT
 
Constructor Summary
RatingEvent(float rating)
          Constructor for a rating event.
 
Method Summary
 float getRating()
           
 
Methods inherited from class org.olat.core.gui.control.Event
getCommand, hashCode, toString
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RatingEvent

public RatingEvent(float rating)
Constructor for a rating event.

Parameters:
rating - The current rating value
Method Detail

getRating

public float getRating()
Returns:
The rating value made