Top Description Methods
javax.sound.sampled

public Interface LineListener

extends EventListener
Known Direct Implementers
javax.swing.plaf.basic.BasicLookAndFeel.AudioAction, com.sun.media.sound.JavaSoundAudioClip
Imports
java.util.EventListener

Instances of classes that implement the LineListener interface can register to receive events when a line's status changes.
Author
Kara Kytle
Since
1.3
See Also
Line, Line#addLineListener, Line#removeLineListener, LineEvent

Method Summary

Modifier and TypeMethod and Description
public void
update(LineEvent
a line event that describes the change
event
)

Informs the listener that a line's state has changed.

Method Detail

updateback to summary
public void update(LineEvent event)

Informs the listener that a line's state has changed. The listener can then invoke LineEvent methods to obtain information about the event.

Parameters
event:LineEvent

a line event that describes the change