jAudioFeatureExtractor.actions
クラス SaveAction

java.lang.Object
  上位を拡張 javax.swing.AbstractAction
      上位を拡張 jAudioFeatureExtractor.actions.SaveAction
すべての実装されたインタフェース:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class SaveAction
extends javax.swing.AbstractAction

Saves the settings of the system. Note that settings does not include the files in the recording table. Bacth files should be used if it is desired to save the file list as well.

作成者:
Daniel McEnnis
関連項目:
直列化された形式

フィールドの概要
 
クラス javax.swing.AbstractAction から継承されたフィールド
changeSupport, enabled
 
インタフェース javax.swing.Action から継承されたフィールド
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
コンストラクタの概要
SaveAction(Controller c, FeatureSelectorTableModel fstm)
          Constructor that sets the menu text and stores a reference to the controller and feature table model
 
メソッドの概要
 void actionPerformed(java.awt.event.ActionEvent e)
          Save the current settings to a file on disk.
 void setObjectReferences(javax.swing.JTextArea win_length, javax.swing.JTextArea win_overlap, javax.swing.JCheckBox save_window, javax.swing.JCheckBox save_overall)
          Set the references needed to store the settings.
 
クラス javax.swing.AbstractAction から継承されたメソッド
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
クラス java.lang.Object から継承されたメソッド
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

SaveAction

public SaveAction(Controller c,
                  FeatureSelectorTableModel fstm)
Constructor that sets the menu text and stores a reference to the controller and feature table model

パラメータ:
c - near global controller
fstm - table model that contains the features.
メソッドの詳細

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Save the current settings to a file on disk. The file is stored in XML format.


setObjectReferences

public void setObjectReferences(javax.swing.JTextArea win_length,
                                javax.swing.JTextArea win_overlap,
                                javax.swing.JCheckBox save_window,
                                javax.swing.JCheckBox save_overall)
Set the references needed to store the settings.

パラメータ:
win_length - text box that holds the width of the analysis window in samples.
win_overlap - text box that holds the percent overlap between windows
save_window - checkbox indicating whether features should be saved per window
save_overall - checkbox indicating whether global features should be saved. .