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 JLabelfinal org.slf4j.Loggerprotected JLabelprotected JLabelprotected JLabelFields inherited from class de.klassenserver7b.danceinterpreter.graphics.songwindows.FormattedSongWindow
albumImage, artistName, danceName, frame, hasAlbumImage, hasNextData, nextData, songName, windowSpecs -
Constructor Summary
ConstructorsModifierConstructorDescriptionSongWindowBdImgTA(boolean withimage) protectedSongWindowBdImgTA(SongWindowSpecs windowspecs) -
Method Summary
Modifier and TypeMethodDescriptionprotected intcalcSongViewEnd(int songViewStart, int songViewTotalWidth) protected intcalcSongViewStart(int songViewTotalWidth) private voidinit()voidvoidonResize()voidrefresh()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()
-