jAudioFeatureExtractor.actions
クラス LoadAction

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

public class LoadAction
extends javax.swing.AbstractAction

Reads a file containing settings and resets jAUdio to match those settings.

作成者:
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
 
コンストラクタの概要
LoadAction(Controller c, FeatureSelectorTableModel fstm)
          Constructor that sets menu text and loads references needed to load settings.
 
メソッドの概要
 void actionPerformed(java.awt.event.ActionEvent e)
          Loads settings into the application.
 void setObjectReferences(javax.swing.JTextArea win_length, javax.swing.JTextArea win_overlap, javax.swing.JCheckBox save_window, javax.swing.JCheckBox save_overall)
          Provide access to additional 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
 

コンストラクタの詳細

LoadAction

public LoadAction(Controller c,
                  FeatureSelectorTableModel fstm)
Constructor that sets menu text and loads references needed to load settings.

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

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Loads settings into the application. Settings include which features are selected, whether to extract globally or per window, the attributes for each feature, and the size and overlap of the analysis windows.


setObjectReferences

public void setObjectReferences(javax.swing.JTextArea win_length,
                                javax.swing.JTextArea win_overlap,
                                javax.swing.JCheckBox save_window,
                                javax.swing.JCheckBox save_overall)
Provide access to additional settings.

パラメータ:
win_length - text area that has window length
win_overlap - text area that shows the degree of overlap
save_window - checkbox for whether to save global average features
save_overall - checkbox for saving features window by window