Class SongWindowBdImgTA
java.lang.Object
de.klassenserver7b.danceinterpreter.graphics.songwindows.FormattedSongWindow
de.klassenserver7b.danceinterpreter.graphics.songwindows.SongWindowBdImgTA
- All Implemented Interfaces:
TypedWindow
- Direct Known Subclasses:
SongWindowBdImgTAN
- Author:
- K7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JLabel
final org.slf4j.Logger
protected JLabel
protected JLabel
protected JLabel
Fields inherited from class de.klassenserver7b.danceinterpreter.graphics.songwindows.FormattedSongWindow
albumImage, artistName, danceName, frame, hasAlbumImage, hasNextData, nextData, songName, windowSpecs
-
Constructor Summary
ConstructorsModifierConstructorDescriptionSongWindowBdImgTA
(boolean withimage) protected
SongWindowBdImgTA
(SongWindowSpecs windowspecs) -
Method Summary
Modifier and TypeMethodDescriptionprotected int
calcSongViewEnd
(int songViewStart, int songViewTotalWidth) protected int
calcSongViewStart
(int songViewTotalWidth) private void
init()
void
void
onResize()
void
refresh()
Methods inherited from class de.klassenserver7b.danceinterpreter.graphics.songwindows.FormattedSongWindow
calcEstimatedHeight, calcEstimatedHeight, calcEstimatedHeight, calcEstimatedWidth, calcEstimatedWidth, calcEstimatedWidth, calcSize, calcSize, calcSize, getWindowSpecs, iconToImage, onInit, updateData
-
Field Details
-
log
public final org.slf4j.Logger log -
textDance
-
textSong
-
textArtist
-
imgAlbum
-
-
Constructor Details
-
SongWindowBdImgTA
public SongWindowBdImgTA() -
SongWindowBdImgTA
public SongWindowBdImgTA(boolean withimage) - Parameters:
withimage
-
-
SongWindowBdImgTA
- Parameters:
windowspecs
-
-
-
Method Details
-
init
private void init() -
initComponents
public void initComponents() -
onResize
public void onResize() -
calcSongViewStart
protected int calcSongViewStart(int songViewTotalWidth) -
calcSongViewEnd
protected int calcSongViewEnd(int songViewStart, int songViewTotalWidth) -
refresh
public void refresh()
-