jAudioFeatureExtractor.actions
クラス AddBatchAction

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

public class AddBatchAction
extends javax.swing.AbstractAction

Action that adds a batch to the internal system. This class is tightly coupled to the AddBatchGUI. Requires context from various GUI elements to extract the state information needed to create a batch.

作成者:
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
 
コンストラクタの概要
AddBatchAction(Controller c)
          Constructor for creating this action.
 
メソッドの概要
 void actionPerformed(java.awt.event.ActionEvent e)
          This method creates a new batch, then activates the AddBatchGUI to finish the task.
 void setFilePath(javax.swing.JTextArea FV, javax.swing.JTextArea FK)
          Aquires references to GUI componenents needed to save settings for a batch.
 void setSettings(javax.swing.JCheckBox saveWindow, javax.swing.JCheckBox overall, javax.swing.JTextArea windowLength, javax.swing.JTextArea windowOverlap)
          Aquires references to GUI componenents needed to save settings for a batch.
 
クラス 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
 

コンストラクタの詳細

AddBatchAction

public AddBatchAction(Controller c)
Constructor for creating this action.

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

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This method creates a new batch, then activates the AddBatchGUI to finish the task.


setSettings

public void setSettings(javax.swing.JCheckBox saveWindow,
                        javax.swing.JCheckBox overall,
                        javax.swing.JTextArea windowLength,
                        javax.swing.JTextArea windowOverlap)
Aquires references to GUI componenents needed to save settings for a batch.

パラメータ:
saveWindow - Should features be saved from each window of data.
overall - Should features be saved from over the entire file.
windowLength - Size of the analysis windo in samples
windowOverlap - Percent of the window that should be duplicated.

setFilePath

public void setFilePath(javax.swing.JTextArea FV,
                        javax.swing.JTextArea FK)
Aquires references to GUI componenents needed to save settings for a batch.

パラメータ:
FV - TextArea containing the location to save feature values.
FK - TextArea containing the location to save feature definitions.