jAudioFeatureExtractor
Class Controller

java.lang.Object
  extended by jAudioFeatureExtractor.Controller
All Implemented Interfaces:
ModelListener

public class Controller
extends java.lang.Object
implements ModelListener

Controller is a master location for all actions and non-gui components. Not the best design, but it works.

Author:
Daniel McEnnis

Field Summary
 AboutAction aboutAction
           
 ActiveAggTableModel activeAgg_
          model containing list of all configured aggregators
 AddBatchAction addBatchAction
           
 AddRecordingAction addRecordingsAction
           
 AggListTableModel aggList_
          model containing a list of all avialable aggregators
 java.util.Vector<Batch> batches
          holds all currently defined batches.
 BatchExecutionThread batchExecutionThread
           
 CopyAction copyAction
          Not really applicable but included anyways for completeness
 CutAction cutAction
          Not really applicable but included anyways for completeness
 DataModel dm_
          model containing all executable code not directly linked to a gui.
 EditRecordingsAction editRecordingsAction
           
 ExecuteBatchAction executeBatchAction
           
 ExitAction exitAction
           
 ExtractionThread extractionThread
           
 FeatureSelectorTableModel fstm_
          model controlling display of recordings
 GlobalWindowChangeAction globalWindowChangeAction
           
 LoadAction loadAction
           
 LoadBatchAction loadBatchAction
           
 javax.swing.JCheckBoxMenuItem normalise
          normalise needs to be available for saving settings and similar actions
 javax.swing.JMenu outputType
          outputType needs to be seen outside the normal structure to provide access to its radio button children for saving settings and similar actions
 OutputTypeAction outputTypeAction
           
 PasteAction pasteAction
          Not really applicable but included anyways for completeness
 PlayMIDIAction playMIDIAction
           
 PlayNowAction playNowAction
           
 PlaySamplesAction playSamplesAction
           
 RecordFromMicAction recordFromMicAction
           
 javax.swing.JMenu removeBatch
          The removeBatch menu item needs to be seen outside the main frame to allow dynamically adding and removing batches from its menu.
 RemoveBatchAction removeBatchAction
           
 java.util.Vector<javax.swing.AbstractAction> removeBatchVector
          vector holding a list of actions for removing batches.
 RemoveRecordingAction removeRecordingsAction
           
 RecordingsTableModel rtm_
          model controlling display of features
 javax.swing.JMenu sampleRate
          SampleRate needs to be seen outside the normal structure to provide access to its radio button children for saving settings and similar actions
 SamplingRateAction samplingRateAction
           
 SaveAction saveAction
           
 SaveBatchAction saveBatchAction
           
 StopPlayBackAction stopPlayBackAction
           
 javax.swing.JCheckBoxMenuItem storeSamples
          storeSamples needs to be available for saving settings and similar actions
 SynthesizeAction synthesizeAction
           
 javax.swing.JCheckBoxMenuItem validate
          validate needs to be available for saving settings and similar actions
 javax.swing.JMenu viewBatch
          The viewBatch menu item needs to be seen outside the main frame to allow dynamically adding and removing batches from its menu.
 ViewBatchAction viewBatchAction
           
 ViewFileInfoAction viewFileInfoAction
           
 
Constructor Summary
Controller()
          Initial creation and configuration of most controller and model data.
 
Method Summary
 void updateTable()
          function for permitting features to request this panel that it updates its table to reflect changes in its number of dimensions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fstm_

public FeatureSelectorTableModel fstm_
model controlling display of recordings


rtm_

public RecordingsTableModel rtm_
model controlling display of features


dm_

public DataModel dm_
model containing all executable code not directly linked to a gui.


aggList_

public AggListTableModel aggList_
model containing a list of all avialable aggregators


activeAgg_

public ActiveAggTableModel activeAgg_
model containing list of all configured aggregators


exitAction

public ExitAction exitAction
See Also:
ExitAction

saveAction

public SaveAction saveAction
See Also:
SaveAction

loadAction

public LoadAction loadAction
See Also:
LoadAction

cutAction

public CutAction cutAction
Not really applicable but included anyways for completeness


copyAction

public CopyAction copyAction
Not really applicable but included anyways for completeness


pasteAction

public PasteAction pasteAction
Not really applicable but included anyways for completeness


recordFromMicAction

public RecordFromMicAction recordFromMicAction
See Also:
RecordFromMicAction

synthesizeAction

public SynthesizeAction synthesizeAction
See Also:
SynthesizeAction

viewFileInfoAction

public ViewFileInfoAction viewFileInfoAction
See Also:
ViewFileInfoAction

addRecordingsAction

public AddRecordingAction addRecordingsAction
See Also:
AddRecordingAction

removeRecordingsAction

public RemoveRecordingAction removeRecordingsAction
See Also:
RemoveRecordingAction

globalWindowChangeAction

public GlobalWindowChangeAction globalWindowChangeAction
See Also:
GlobalWindowChangeAction

outputTypeAction

public OutputTypeAction outputTypeAction
See Also:
OutputTypeAction

playNowAction

public PlayNowAction playNowAction
See Also:
PlayNowAction

playSamplesAction

public PlaySamplesAction playSamplesAction
See Also:
PlaySamplesAction

stopPlayBackAction

public StopPlayBackAction stopPlayBackAction
See Also:
StopPlayBackAction

playMIDIAction

public PlayMIDIAction playMIDIAction
See Also:
PlayMIDIAction

samplingRateAction

public SamplingRateAction samplingRateAction
See Also:
SamplingRateAction

editRecordingsAction

public EditRecordingsAction editRecordingsAction
See Also:
EditRecordingsAction

aboutAction

public AboutAction aboutAction
See Also:
AboutAction

saveBatchAction

public SaveBatchAction saveBatchAction
See Also:
SaveBatchAction

loadBatchAction

public LoadBatchAction loadBatchAction
See Also:
LoadBatchAction

executeBatchAction

public ExecuteBatchAction executeBatchAction
See Also:
ExecuteBatchAction

addBatchAction

public AddBatchAction addBatchAction
See Also:
AddBatchAction

removeBatchAction

public RemoveBatchAction removeBatchAction
See Also:
RemoveBatchAction

viewBatchAction

public ViewBatchAction viewBatchAction
See Also:
ViewBatchAction

removeBatch

public javax.swing.JMenu removeBatch
The removeBatch menu item needs to be seen outside the main frame to allow dynamically adding and removing batches from its menu.


viewBatch

public javax.swing.JMenu viewBatch
The viewBatch menu item needs to be seen outside the main frame to allow dynamically adding and removing batches from its menu.


sampleRate

public javax.swing.JMenu sampleRate
SampleRate needs to be seen outside the normal structure to provide access to its radio button children for saving settings and similar actions


outputType

public javax.swing.JMenu outputType
outputType needs to be seen outside the normal structure to provide access to its radio button children for saving settings and similar actions


removeBatchVector

public java.util.Vector<javax.swing.AbstractAction> removeBatchVector
vector holding a list of actions for removing batches.


storeSamples

public javax.swing.JCheckBoxMenuItem storeSamples
storeSamples needs to be available for saving settings and similar actions


validate

public javax.swing.JCheckBoxMenuItem validate
validate needs to be available for saving settings and similar actions


normalise

public javax.swing.JCheckBoxMenuItem normalise
normalise needs to be available for saving settings and similar actions


extractionThread

public ExtractionThread extractionThread
See Also:
ExtractionThread

batchExecutionThread

public BatchExecutionThread batchExecutionThread
See Also:
BatchExecutionThread

batches

public java.util.Vector<Batch> batches
holds all currently defined batches.

Constructor Detail

Controller

public Controller()
Initial creation and configuration of most controller and model data. Unfortunately, many of the controller componenets are tied to GUI components, requiring further inititalization in those GUI components

Method Detail

updateTable

public void updateTable()
function for permitting features to request this panel that it updates its table to reflect changes in its number of dimensions. As of 05-08-05 only LPC uses this feature to change its own number of dimensions. (This is critical for LPC because so much of the choice of dimension is a black art.)

Specified by:
updateTable in interface ModelListener