Save This Page
Home » openjdk-7 » javax.sound » sampled » [javadoc | source]
javax.sound.sampled
public static class: LineEvent.Type [javadoc | source]
java.lang.Object
   javax.sound.sampled.LineEvent$Type
The LineEvent.Type inner class identifies what kind of event occurred on a line. Static instances are provided for the common types (OPEN, CLOSE, START, and STOP).
Field Summary
public static final  LineEvent.Type OPEN    A type of event that is sent when a line opens, reserving system resources for itself. 
public static final  LineEvent.Type CLOSE    A type of event that is sent when a line closes, freeing the system resources it had obtained when it was opened.
    Also see:
    OPEN
    Line#close
 
public static final  LineEvent.Type START    A type of event that is sent when a line begins to engage in active input or output of audio data in response to a start request.
    Also see:
    STOP
    DataLine#start
 
public static final  LineEvent.Type STOP    A type of event that is sent when a line ceases active input or output of audio data in response to a stop request, or because the end of media has been reached.
    Also see:
    START
    DataLine#stop
 
Constructor:
 protected Type(String name) 
    Constructs a new event type.
    Parameters:
    name - name of the type
Method from javax.sound.sampled.LineEvent$Type Summary:
equals,   hashCode,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.sound.sampled.LineEvent$Type Detail:
 public final boolean equals(Object obj) 
    Indicates whether the specified object is equal to this event type, returning true if the objects are identical.
 public final int hashCode() 
    Finalizes the hashcode method.
 public String toString() 
    Returns the type name as the string representation.