Class AudioPlayerAnnotationController

  • All Implemented Interfaces:
    SelectListener, java.awt.event.ActionListener, java.util.EventListener, javax.sound.sampled.LineListener

    public class AudioPlayerAnnotationController
    extends DialogAnnotationController
    implements javax.sound.sampled.LineListener
    • Field Detail

      • PLAYER_UPDATE_DELAY_MILLIS

        protected static final long PLAYER_UPDATE_DELAY_MILLIS
        See Also:
        Constant Field Values
    • Method Detail

      • getClip

        public javax.sound.sampled.Clip getClip()
      • setClip

        public void setClip​(javax.sound.sampled.Clip clip)
      • getAudioPlayer

        protected AudioPlayer getAudioPlayer()
      • setAudioPlayer

        protected void setAudioPlayer​(AudioPlayer audioPlayer)
      • getClipStatus

        public java.lang.String getClipStatus()
      • startClip

        public void startClip()
      • stopClip

        public void stopClip()
      • pauseClip

        public void pauseClip()
      • updateAudioAnnotation

        protected void updateAudioAnnotation()
      • doUpdateAudioAnnotation

        protected void doUpdateAudioAnnotation​(long position,
                                               long length,
                                               boolean haveClip)
      • playPressed

        protected void playPressed​(java.awt.event.ActionEvent e)
      • stopPressed

        protected void stopPressed​(java.awt.event.ActionEvent e)
      • onPlayPressed

        protected void onPlayPressed​(java.awt.event.ActionEvent e)
      • onStopPressed

        protected void onStopPressed​(java.awt.event.ActionEvent e)
      • update

        public void update​(javax.sound.sampled.LineEvent e)
        Specified by:
        update in interface javax.sound.sampled.LineListener
      • onClipStart

        protected void onClipStart​(javax.sound.sampled.LineEvent e)
      • onClipStop

        protected void onClipStop​(javax.sound.sampled.LineEvent e)
      • onPlayerUpdate

        protected void onPlayerUpdate()
      • startPlayerUpdate

        protected void startPlayerUpdate()
      • stopPlayerUpdate

        protected void stopPlayerUpdate()