|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
javax.sound.sampled.LineEvent
public class LineEvent
This class holds information about a state change of a Line.
| Nested Class Summary | |
|---|---|
static class |
LineEvent.Type
This class represents the kinds of state changes that can occur to a Line. |
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| 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. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LineEvent(Line line,
LineEvent.Type type,
long pos)
line - the linetype - the type of the eventpos - the frame position| Method Detail |
|---|
public final long getFramePosition()
public final Line getLine()
public final LineEvent.Type getType()
public String toString()
toString in class EventObjectObject.getClass(),
Object.hashCode(),
Class.getName(),
Integer.toHexString(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||