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 |
メソッドの概要 |
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 controllerfstm
- 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 windowssave_window
- checkbox indicating whether features should be saved per
windowsave_overall
- checkbox indicating whether global features should be saved. .