|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
be.lassi.ui.audio
Class Audio
java.lang.Object be.lassi.ui.audio.Audio
public class Audio
- extends java.lang.Object
Plays audio files.
Field Summary | |
---|---|
java.lang.String |
filename
|
Constructor Summary | |
---|---|
Audio()
|
Method Summary | |
---|---|
void |
addListener(AudioListener listener)
|
java.lang.String |
getFilename()
|
int |
getLength()
|
int |
getPosition()
|
void |
play(java.lang.String newFilename)
|
void |
removeListener(AudioListener listener)
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
filename
public java.lang.String filename
Constructor Detail |
---|
Audio
public Audio()
Method Detail |
---|
addListener
public void addListener(AudioListener listener)
getFilename
public java.lang.String getFilename()
getLength
public int getLength()
getPosition
public int getPosition()
play
public void play(java.lang.String newFilename)
removeListener
public void removeListener(AudioListener listener)
stop
public void stop()
|
Lighting Assistant 1.2 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |