Package com.tagtraum.beatunes.analysis
Class SongPropertyAnalysisTaskEditor
- java.lang.Object
-
- com.tagtraum.beatunes.analysis.SongPropertyAnalysisTaskEditor
-
- All Implemented Interfaces:
TaskEditor<SongPropertyAnalysisTask>
public class SongPropertyAnalysisTaskEditor extends Object implements TaskEditor<SongPropertyAnalysisTask>
SongPropertyAnalysisEditor.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description SongPropertyAnalysisTaskEditor(SongPropertyAnalyzer[] possibleSongPropertyAnalyzers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent$$$getRootComponent$$$()BeaTunesgetApplication()JComponentgetComponent()Returns the main visual component, typically a JPanel.SongPropertyAnalysisTaskgetTask()Creates a new task that reflects the values set in the editor.SongPropertyAnalysisTaskgetTask(SongPropertyAnalysisTask task)Initializes the passed task with the values set in this editor.voidinit()voidsetApplication(BeaTunes beaTunes)voidsetTask(SongPropertyAnalysisTask task)Initializes this editor with the values contained in the passed task.
-
-
-
Constructor Detail
-
SongPropertyAnalysisTaskEditor
public SongPropertyAnalysisTaskEditor(SongPropertyAnalyzer[] possibleSongPropertyAnalyzers)
-
-
Method Detail
-
setApplication
public void setApplication(BeaTunes beaTunes)
- Specified by:
setApplicationin interfaceTaskEditor<SongPropertyAnalysisTask>
-
getApplication
public BeaTunes getApplication()
- Specified by:
getApplicationin interfaceTaskEditor<SongPropertyAnalysisTask>
-
init
public void init()
- Specified by:
initin interfaceTaskEditor<SongPropertyAnalysisTask>
-
getComponent
public JComponent getComponent()
Description copied from interface:TaskEditorReturns the main visual component, typically a JPanel.- Specified by:
getComponentin interfaceTaskEditor<SongPropertyAnalysisTask>- Returns:
- the main visual component
-
setTask
public void setTask(SongPropertyAnalysisTask task)
Description copied from interface:TaskEditorInitializes this editor with the values contained in the passed task.- Specified by:
setTaskin interfaceTaskEditor<SongPropertyAnalysisTask>- Parameters:
task- task
-
getTask
public SongPropertyAnalysisTask getTask(SongPropertyAnalysisTask task)
Description copied from interface:TaskEditorInitializes the passed task with the values set in this editor.- Specified by:
getTaskin interfaceTaskEditor<SongPropertyAnalysisTask>- Parameters:
task- task to adjust- Returns:
- task that reflects the values set in the editor
-
getTask
public SongPropertyAnalysisTask getTask()
Description copied from interface:TaskEditorCreates a new task that reflects the values set in the editor.- Specified by:
getTaskin interfaceTaskEditor<SongPropertyAnalysisTask>- Returns:
- new task with with editor values
-
$$$getRootComponent$$$
public JComponent $$$getRootComponent$$$()
-
-