|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlayingTimeHandler
NITE Playing Time Handler. Implemented by any class on which we can play, rewind, fast forward etc.
Method Summary | |
---|---|
void |
fastForward()
fast forward the continuous stream by the specified amount |
void |
fastForward(int seconds)
fast forward the continuous stream by the specified amount |
java.lang.String |
getFileName()
return the file name currently being played by this player |
double |
getTime()
return the time of this media source |
boolean |
isMaster()
return true if this player has the 'master' button checked, and thus controls time for the application |
boolean |
isPlaying()
true if we're playing |
boolean |
pastEndTime(double ctime)
return a boolean: true the given time is after the end time of the media file. |
void |
pause()
pause the continuous stream |
void |
play()
start playing the continuous stream |
void |
rewind()
rewind the continuous stream by the pre-defined amount (defaults to 5 seconds) |
void |
rewind(int seconds)
|
void |
setMaster(boolean mast)
Make this player control time for the application if the argument is 'true', or stop it from being if 'false'. |
void |
setPlayRate(float rate)
set the rate of play so we can sound like pinky and perky. |
Methods inherited from interface net.sourceforge.nite.time.TimeHandler |
---|
acceptTimeChange, acceptTimeSpanChange, getClock, getMaxTime, setClock, setTime, setTimeHighlightColor, setTimeSpan |
Method Detail |
---|
void play()
void pause()
void fastForward(int seconds)
void rewind(int seconds)
void fastForward()
void rewind()
void setPlayRate(float rate)
java.lang.String getFileName()
boolean isPlaying()
double getTime()
boolean isMaster()
void setMaster(boolean mast)
boolean pastEndTime(double ctime)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |