MediaTimeEvent

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.davic.media
Class MediaTimeEvent

    java.lang.Object
      org.davic.media.MediaTimeEvent

    public class MediaTimeEvent

extends Object

The MediaTimeEvent class describes events that are associated with the stream by the application. These events are posted whenever the Controller encounters a media position which has been associated with the stream by the local application. The event includes the associated media time encoded as a long and the event identification encoded as an int.

Constructor Summary
`MediaTimeEvent(Object source, long eventTime, int ID)` Make an event

Method Summary
`int` | `getEventId()`
`long` | `getEventTime()`
`Object` | `getSource()` This method returns the source for the event.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MediaTimeEvent

    public MediaTimeEvent(Object source,
                          long eventTime,
                          int ID)

  Make an event

  Parameters:
    `source` - the object generating the evenT
    `eventTime` - the media time at which the event fired
    `ID` - the event identification

Method Detail

### getEventTime

    public long getEventTime()

  Returns:
    the time with which this event was associated

### getEventId

    public int getEventId()

### getSource

    public Object getSource()

  This method returns the source for the event. It may be inherited from sunw.util.EventObject or java.util.EventObject

  Returns:
    the source of the event

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD