Package net.alteiar.utils.file.audio

Examples of net.alteiar.utils.file.audio.SerializableAudio


  private void selectAudio(ImageSelectorStrategy selector) {
    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


  public SerializableAudio getAudio() {
    return audio;
  }

  public void setAudio(SerializableAudio audio) {
    SerializableAudio oldValue = this.audio;
    if (notifyRemote(PROP_AUDIO_PROPERTY, oldValue, audio)) {
      this.audio = audio;
      notifyLocal(PROP_AUDIO_PROPERTY, oldValue, audio);
    }
  }
View Full Code Here

TOP

Related Classes of net.alteiar.utils.file.audio.SerializableAudio

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.