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