Package com.tagtraum.beatunes.analysis
Class EstimateBPMEditor
- java.lang.Object
-
- com.tagtraum.beatunes.analysis.EstimateBPMEditor
-
- All Implemented Interfaces:
TaskEditor<EstimateBPM>
public class EstimateBPMEditor extends Object implements TaskEditor<EstimateBPM>
Estimate BPM editor.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description EstimateBPMEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
$$$getRootComponent$$$()
BeaTunes
getApplication()
JComponent
getComponent()
Returns the main visual component, typically a JPanel.EstimateBPM
getTask()
Creates a new task that reflects the values set in the editor.EstimateBPM
getTask(EstimateBPM estimateBPM)
Initializes the passed task with the values set in this editor.void
init()
void
setApplication(BeaTunes beaTunes)
void
setTask(EstimateBPM estimateBPM)
Initializes this editor with the values contained in the passed task.
-
-
-
Method Detail
-
setApplication
public void setApplication(BeaTunes beaTunes)
- Specified by:
setApplication
in interfaceTaskEditor<EstimateBPM>
-
getApplication
public BeaTunes getApplication()
- Specified by:
getApplication
in interfaceTaskEditor<EstimateBPM>
-
init
public void init()
- Specified by:
init
in interfaceTaskEditor<EstimateBPM>
-
getComponent
public JComponent getComponent()
Description copied from interface:TaskEditor
Returns the main visual component, typically a JPanel.- Specified by:
getComponent
in interfaceTaskEditor<EstimateBPM>
- Returns:
- the main visual component
-
setTask
public void setTask(EstimateBPM estimateBPM)
Description copied from interface:TaskEditor
Initializes this editor with the values contained in the passed task.- Specified by:
setTask
in interfaceTaskEditor<EstimateBPM>
- Parameters:
estimateBPM
- task
-
getTask
public EstimateBPM getTask(EstimateBPM estimateBPM)
Description copied from interface:TaskEditor
Initializes the passed task with the values set in this editor.- Specified by:
getTask
in interfaceTaskEditor<EstimateBPM>
- Parameters:
estimateBPM
- task to adjust- Returns:
- task that reflects the values set in the editor
-
getTask
public EstimateBPM getTask()
Description copied from interface:TaskEditor
Creates a new task that reflects the values set in the editor.- Specified by:
getTask
in interfaceTaskEditor<EstimateBPM>
- Returns:
- new task with with editor values
-
$$$getRootComponent$$$
public JComponent $$$getRootComponent$$$()
-
-