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