Clock

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

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

## javax.media
Interface Clock

All Known Subinterfaces:
  Controller, Player, ServiceMediaHandler

    public interface Clock

Field Summary
`static Time` | `RESET`

Method Summary
`long` | `getMediaNanoseconds()`
`Time` | `getMediaTime()`
`float` | `getRate()`
`Time` | `getStopTime()`
`Time` | `getSyncTime()`
`TimeBase` | `getTimeBase()`
`Time` | `mapToTimeBase(Time t)`
`void` | `setMediaTime(Time now)`
`float` | `setRate(float factor)`
`void` | `setStopTime(Time stopTime)`
`void` | `setTimeBase(TimeBase master)`
`void` | `stop()`
`void` | `syncStart(Time at)`

Field Detail

### RESET

    static final Time RESET

Method Detail

### setTimeBase

    void setTimeBase(TimeBase master)
                     throws IncompatibleTimeBaseException

  Throws:
    `IncompatibleTimeBaseException`

### syncStart

    void syncStart(Time at)

### stop

    void stop()

### setStopTime

    void setStopTime(Time stopTime)

### getStopTime

    Time getStopTime()

### setMediaTime

    void setMediaTime(Time now)

### getMediaTime

    Time getMediaTime()

### getMediaNanoseconds

    long getMediaNanoseconds()

### getSyncTime

    Time getSyncTime()

### getTimeBase

    TimeBase getTimeBase()

### mapToTimeBase

    Time mapToTimeBase(Time t)
                       throws ClockStoppedException

  Throws:
    `ClockStoppedException`

### getRate

    float getRate()

### setRate

    float setRate(float factor)

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

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