javax.sound.sampled
public class LineEvent extends EventObject
Since: 1.3
UNKNOWN: This class is not really serializable, and attempts to serialize it will throw {@link NotSerializableException}.
| Nested Class Summary | |
|---|---|
| static class | LineEvent.Type
This class represents the kinds of state changes that can occur
to a Line. |
| Constructor Summary | |
|---|---|
| LineEvent(Line line, LineEvent.Type type, long pos)
Create a new LineEvent with the indicated line, type, and frame position. | |
| Method Summary | |
|---|---|
| long | getFramePosition()
Return the frame position associated with this event. |
| Line | getLine()
Return the Line associated with this event. |
| LineEvent.Type | getType()
Return the Type associated with this event. |
| String | toString()
Return a description of this event. |
Parameters: line the line type the type of the event pos the frame position