|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.platform.AbstractDepictor<O>
com.guiseframework.platform.web.AbstractWebDepictor<Audio>
com.guiseframework.platform.web.WebAudioDepictor
public class WebAudioDepictor
A web depictor for Guise audio.
| Nested Class Summary | |
|---|---|
static class |
WebAudioDepictor.AudioCommand
The web commands for controlling audio. |
| Nested classes/interfaces inherited from class com.guiseframework.platform.AbstractDepictor |
|---|
AbstractDepictor.DepictedPropertyChangeListener |
| Field Summary |
|---|
| Fields inherited from interface com.guiseframework.platform.Depictor |
|---|
GENERAL_PROPERTY |
| Constructor Summary | |
|---|---|
WebAudioDepictor()
|
|
| Method Summary | |
|---|---|
void |
pause()
Requests that the audio pause. |
void |
play()
Requests that the audio start. |
void |
processEvent(PlatformEvent event)
Processes an event from the platform. |
void |
setTimePosition(long newTimePosition)
Requests a new time-based play position. |
void |
stop()
Requests that the audio stop. |
| Methods inherited from class com.guiseframework.platform.web.AbstractWebDepictor |
|---|
getPlatform |
| Methods inherited from class com.guiseframework.platform.AbstractDepictor |
|---|
depict, depictedObjectPropertyChange, getDepictContext, getDepictedObject, getDepictedPropertyChangeListener, getIgnoredProperties, getModifiedProperties, getSession, installed, isDepicted, setDepicted, setPropertyModified, uninstalled |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.guiseframework.platform.Depictor |
|---|
depict, getDepictContext, getDepictedObject, getPlatform, getSession, installed, isDepicted, setDepicted, uninstalled |
| Constructor Detail |
|---|
public WebAudioDepictor()
| Method Detail |
|---|
public void play()
play in interface Audio.Depictor<Audio>public void pause()
pause in interface Audio.Depictor<Audio>public void stop()
stop in interface Audio.Depictor<Audio>public void setTimePosition(long newTimePosition)
setTimePosition in interface Audio.Depictor<Audio>newTimePosition - The new play position in microseconds.
java.lang.IllegalArgumentException - if the given position is negative.public void processEvent(PlatformEvent event)
processEvent in interface Depictor<Audio>processEvent in class AbstractDepictor<Audio>event - The event to be processed.
java.lang.IllegalArgumentException - if the given event is a relevant DepictEvent with a source of a different depicted object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||