Package net.alteiar.beans.media

Examples of net.alteiar.beans.media.AudioBean


    this.add(player);
  }

  @Override
  public void setDocument(BeanDocument doc) {
    AudioBean audioBean = doc.getBean();
    if (audioBean != null) {
      player.setAudioBean(audioBean);
    }
  }
View Full Code Here


    File audioFile = StaticDialog.getSelectedAudioFile(null);

    if (audioFile != null) {
      try {
        selectedAudio = new SerializableAudio(audioFile);
        panelPlayer.setAudioBean(new AudioBean(selectedAudio));
      } catch (IOException e) {
        ExceptionTool.showError(e);
      }
    }
  }
View Full Code Here

  }

  @Override
  public BasicBean buildDocument() {
    panelPlayer.stop();
    return new AudioBean(selectedAudio);
  }
View Full Code Here

TOP

Related Classes of net.alteiar.beans.media.AudioBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.