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