Package com.tagtraum.beatunes.songtable
Class SongPropertyChangeListener
- java.lang.Object
-
- com.tagtraum.beatunes.songtable.SongPropertyChangeListener
-
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
public class SongPropertyChangeListener extends Object implements PropertyChangeListener
Property listener capable of updating the correct table row/column, when a property change occurs to aAudioSong
. Updates are slightly delayed (on purpose).- Author:
- Hendrik Schreiber
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
installIfAbsent(BeaTunes application, AudioSong song)
InstallSongPropertyChangeListener
to given song for the mainSongTable
.static void
installIfAbsent(JTable table, AudioSong song)
InstallSongPropertyChangeListener
to given song for the mainSongTable
.void
propertyChange(PropertyChangeEvent evt)
-
-
-
Method Detail
-
installIfAbsent
public static void installIfAbsent(BeaTunes application, AudioSong song)
InstallSongPropertyChangeListener
to given song for the mainSongTable
.- Parameters:
application
- applicationsong
- song
-
installIfAbsent
public static void installIfAbsent(JTable table, AudioSong song)
InstallSongPropertyChangeListener
to given song for the mainSongTable
.- Parameters:
table
- table to be notified of changes in the songsong
- song
-
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
-