jAudioFeatureExtractor.actions
クラス ViewBatchAction

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

public class ViewBatchAction
extends javax.swing.AbstractAction

Action that loads all settings in the chosen batch file into the current window.

作成者:
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
 
コンストラクタの概要
ViewBatchAction(Controller c)
          Constructor that sets menu text and stores a reference to the controller.
 
メソッドの概要
 void actionPerformed(java.awt.event.ActionEvent e)
          Resets all gui paramters to the settings of the chosen batch file.
 void setFeatureFields(javax.swing.JCheckBox saveWindow, javax.swing.JCheckBox saveOverall, javax.swing.JTextArea windowSize, javax.swing.JTextArea windowOverlap)
          Sets references to gui elements so it can set them to the designated values when executed.
 void setRecordingFields(javax.swing.JTextArea definition, javax.swing.JTextArea value)
          Sets references to gui elements so it can set them to the correct values when executed.
 
クラス 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
 

コンストラクタの詳細

ViewBatchAction

public ViewBatchAction(Controller c)
Constructor that sets menu text and stores a reference to the controller.

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

setFeatureFields

public void setFeatureFields(javax.swing.JCheckBox saveWindow,
                             javax.swing.JCheckBox saveOverall,
                             javax.swing.JTextArea windowSize,
                             javax.swing.JTextArea windowOverlap)
Sets references to gui elements so it can set them to the designated values when executed.

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

setRecordingFields

public void setRecordingFields(javax.swing.JTextArea definition,
                               javax.swing.JTextArea value)
Sets references to gui elements so it can set them to the correct values when executed.

パラメータ:
definition - text box containing the location to save the feature declarations.
value - text box containing the location to save the extracted features.

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Resets all gui paramters to the settings of the chosen batch file.