API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.sampled. LineEvent View Source
Author(s)
Kara Kytle
Since
1.3
Version
1.27, 05/11/17
Serial
exclude
Hierarchy
 Object
      EventObject
          LineEvent
Implements
Subclasses
Description
public class LineEvent
  The LineEvent class encapsulates information that a line sends its listeners whenever the line opens, closes, starts, or stops.
Constructors
public LineEvent (Line line, Type type, long position)
  Constructs a new event of the specified type, originating from the specified line.
Methods
Hide/Show inherited methods
publicfinal long getFramePosition ()
  Obtains the position in the line's audio data when the event occurred, expressed in sample frames.
publicfinal Line getLine ()
  Obtains the audio line that is the source of this event.
public Object getSource () [Inherited From EventObject]
  The object on which the Event initially occurred.
publicfinal Type getType ()
  Obtains the event's type.
public String toString () [Overrides EventObject]
  Obtains a string representation of the event.
Fields
Hide/Show inherited fields
protectedtransient Object source [Inherited From EventObject]
The object on which the Event initially occurred.
Nested Classes
  LineEvent.Type
The LineEvent.Type inner class identifies what kind of event occurred on a line.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar