Package com.tagtraum.beatunes.songinfo
Class MultipleItemsInfoDialog
- java.lang.Object
-
- com.tagtraum.beatunes.songinfo.MultipleItemsInfoDialog
-
- All Implemented Interfaces:
DetailView
,ReferenceCheck.Callback
,View
,org.jdesktop.animation.timing.TimingTarget
public class MultipleItemsInfoDialog extends Object implements DetailView, ReferenceCheck.Callback, org.jdesktop.animation.timing.TimingTarget
Detailview for editing multiple songs in one swoop.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description MultipleItemsInfoDialog(BeaTunes application)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JComponent
$$$getRootComponent$$$()
void
addArtworkAction(AudioArtwork artwork, AudioSong song)
void
addReferenceSongs(List<AudioSong> referenceSongs)
void
begin()
void
commit()
void
done()
void
end()
JComponent
getComponent()
The actual visual component for this view.String
getStatusLabel()
Status label to show in the status bar when this component becomes visible.boolean
isIndeterminateProgress()
Indicates that the current status is an operation with indeterminate progress which should be reflected in the rendering of the status bar.void
repeat()
void
setIndeterminateProgress(boolean indeterminateProgress)
void
setStatusLabel(String statusLabel)
void
setTable(JTable table, int... indices)
void
timingEvent(float fraction)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tagtraum.beatunes.View
getFocusRoot
-
-
-
-
Constructor Detail
-
MultipleItemsInfoDialog
public MultipleItemsInfoDialog(BeaTunes application)
-
-
Method Detail
-
timingEvent
public void timingEvent(float fraction)
- Specified by:
timingEvent
in interfaceorg.jdesktop.animation.timing.TimingTarget
-
begin
public void begin()
- Specified by:
begin
in interfaceorg.jdesktop.animation.timing.TimingTarget
-
end
public void end()
- Specified by:
end
in interfaceorg.jdesktop.animation.timing.TimingTarget
-
repeat
public void repeat()
- Specified by:
repeat
in interfaceorg.jdesktop.animation.timing.TimingTarget
-
getStatusLabel
public String getStatusLabel()
Description copied from interface:DetailView
Status label to show in the status bar when this component becomes visible.- Specified by:
getStatusLabel
in interfaceDetailView
- Returns:
- label
- See Also:
MainWindow.getStatusLabel()
-
isIndeterminateProgress
public boolean isIndeterminateProgress()
Description copied from interface:DetailView
Indicates that the current status is an operation with indeterminate progress which should be reflected in the rendering of the status bar.- Specified by:
isIndeterminateProgress
in interfaceDetailView
- Returns:
- true if an indeterminate progress indicator is supposed to be rendered
-
setStatusLabel
public void setStatusLabel(String statusLabel)
- Specified by:
setStatusLabel
in interfaceReferenceCheck.Callback
-
setIndeterminateProgress
public void setIndeterminateProgress(boolean indeterminateProgress)
- Specified by:
setIndeterminateProgress
in interfaceReferenceCheck.Callback
-
getComponent
public JComponent getComponent()
Description copied from interface:View
The actual visual component for this view.- Specified by:
getComponent
in interfaceView
- Returns:
- detail component
-
setTable
public void setTable(JTable table, int... indices)
-
commit
public void commit()
-
$$$getRootComponent$$$
public JComponent $$$getRootComponent$$$()
-
addReferenceSongs
public void addReferenceSongs(List<AudioSong> referenceSongs)
- Specified by:
addReferenceSongs
in interfaceReferenceCheck.Callback
-
addArtworkAction
public void addArtworkAction(AudioArtwork artwork, AudioSong song)
- Specified by:
addArtworkAction
in interfaceReferenceCheck.Callback
-
done
public void done()
- Specified by:
done
in interfaceReferenceCheck.Callback
-
-