com.guiseframework.audio
Interface Audio.Depictor<A extends Audio>

Type Parameters:
A - The type of audio to be depicted.
All Superinterfaces:
Depictor<A>
All Known Implementing Classes:
WebAudioDepictor
Enclosing class:
Audio

public static interface Audio.Depictor<A extends Audio>
extends Depictor<A>

The custom depictor type for audio.

Author:
Garret Wilson

Field Summary
 
Fields inherited from interface com.guiseframework.platform.Depictor
GENERAL_PROPERTY
 
Method Summary
 void pause()
          Requests that the audio pause.
 void play()
          Requests that the audio start playing.
 void setTimePosition(long newTimePosition)
          Requests a new time-based play position.
 void stop()
          Requests that the audio stop.
 
Methods inherited from interface com.guiseframework.platform.Depictor
depict, getDepictContext, getDepictedObject, getPlatform, getSession, installed, isDepicted, processEvent, setDepicted, uninstalled
 

Method Detail

play

void play()
Requests that the audio start playing.


pause

void pause()
Requests that the audio pause.


stop

void stop()
Requests that the audio stop.


setTimePosition

void setTimePosition(long newTimePosition)
Requests a new time-based play position.

Parameters:
newTimePosition - The new play position in microseconds.
Throws:
java.lang.IllegalArgumentException - if the given position is negative.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.