FileDocCategorySizeDatePackage
RateChangeEvent.javaAPI DocJMF 2.1.1e962Mon May 12 12:20:38 BST 2003javax.media

RateChangeEvent

public class RateChangeEvent extends ControllerEvent
A RateChangeEvent is a ControllerEvent that is posted when a Controller's rate changes.
see
Controller
see
ControllerListener
version
1.2, 02/08/21.

Fields Summary
float
rate
Constructors Summary
public RateChangeEvent(Controller from, float newRate)

	super(from);
	rate = newRate;
    
Methods Summary
public floatgetRate()
Get the new rate of the Controller that generated this event.

return
The Controller's new rate.

	return rate;
    
public java.lang.StringtoString()
Returns the String representation of this event's values.

	return getClass().getName() + "[source=" + eventSrc + 
	    ",rate=" + rate + "]";