Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
interface: AutoClosingClip [javadoc | source]

All Implemented Interfaces:
    Clip

All Known Implementing Classes:
    DirectClip

Interface for Clip objects that close themselves automatically
Method from com.sun.media.sound.AutoClosingClip Summary:
isAutoClosing,   setAutoClosing
Method from com.sun.media.sound.AutoClosingClip Detail:
 public boolean isAutoClosing()
    Indicates whether this clip instance is auto closing. When the clip is auto closing, it calls the close() method automatically after a short period of inactivity.

 public  void setAutoClosing(boolean value)
    Sets whether this Clip instance is auto closing or not. If true, the close() method will be called automatically after a short period of inactivity.