|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjavax.swing.AbstractAction
jAudioFeatureExtractor.actions.AddRecordingAction
public class AddRecordingAction
Action for importing audio files into jAudio.
フィールドの概要 |
---|
クラス 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 |
コンストラクタの概要 | |
---|---|
AddRecordingAction()
Generic constructor that provides menu item text. |
メソッドの概要 | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Instantiates a JFileChooser for the load_recording_chooser field if one does not already exist. |
void |
addRecording(java.io.File[] toBeAdded)
Adds the given files to the table display and stores a reference to them. |
void |
setModel(Controller c)
AddRecordingAction requires access to the table where recordings are stored. |
クラス 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 |
コンストラクタの詳細 |
---|
public AddRecordingAction()
メソッドの詳細 |
---|
public void setModel(Controller c)
c
- near global controller objectpublic void actionPerformed(java.awt.event.ActionEvent e)
Only audio files of known types (i.e. with known extensions) are displayed in the file chooser.
Verifies that the files are valid audio files that can be read if the validate_recordings_when_load_them_check_box checkbox is selected. Only stores the actual samples if the store_audio_samples_check_box check box is selected (otherwise just stores file references).
If a selected file path corresponds to a file that does not exist, then an error message is displayed.
public void addRecording(java.io.File[] toBeAdded) throws java.lang.Exception
Verifies that the files are valid audio files that can be read if the validate_recordings_when_load_them_check_box checkbox is selected. Only stores the actual samples if the store_audio_samples_check_box check box is selected (otherwise just stores file references).
If a given file path corresponds to a file that does not exist, then an error message is displayed.
toBeAdded
- The files to add to the table.
java.lang.Exception
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |