FileDocCategorySizeDatePackage
LineEvent.javaAPI DocAndroid 1.5 API2619Wed May 06 22:41:02 BST 2009javax.sound.sampled

LineEvent

public class LineEvent extends EventObject

Fields Summary
private static final long
serialVersionUID
private Type
type
private long
position
Constructors Summary
public LineEvent(Line line, Type type, long position)

        super(line);
        this.type = type;
        this.position = position;
    
Methods Summary
public final longgetFramePosition()

        return position;
    
public final javax.sound.sampled.LinegetLine()

        return (Line)getSource();
    
public final javax.sound.sampled.LineEvent$TypegetType()

        return type;
    
public java.lang.StringtoString()

        return type + " event from line " + getLine(); //$NON-NLS-1$