public class DurationUpdateEvent extends ControllerEvent
DurationUpdateEvent is posted by a Controller when its
duration changes.Controller,
ControllerListener,
Serialized Formsource| Constructor and Description |
|---|
DurationUpdateEvent(Controller from,
Time newDuration) |
| Modifier and Type | Method and Description |
|---|---|
Time |
getDuration()
Get the duration of the media that this
Controller
is using. |
String |
toString()
Returns the String representation of this event's values.
|
getSource, getSourceControllerpublic DurationUpdateEvent(Controller from, Time newDuration)
public Time getDuration()
Controller
is using.Controller's media.public String toString()
toString in class ControllerEventCopyright © 2012 code4tv.com. All Rights Reserved.