Class FormattedSongWindow
java.lang.Object
de.klassenserver7b.danceinterpreter.graphics.songwindows.FormattedSongWindow
- All Implemented Interfaces:
TypedWindow
- Direct Known Subclasses:
SongWindowBdImgTA
- Author:
- K7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BufferedImageprotected Stringprotected Stringprotected JFrameprotected final booleanprotected booleanprotected SongDataprotected Stringprotected final SongWindowSpecs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intcalcEstimatedHeight(JLabel comp) protected intcalcEstimatedHeight(JLabel comp, Font font, Graphics g) protected intcalcEstimatedHeight(JLabel comp, Graphics g) protected intcalcEstimatedWidth(JLabel comp) protected intcalcEstimatedWidth(JLabel comp, Font font, Graphics g) protected intcalcEstimatedWidth(JLabel comp, Graphics g) protected DIVectorprotected DIVectorprotected DIVectorstatic BufferedImageiconToImage(Icon icon) voidvoidupdateData(SongData data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.klassenserver7b.danceinterpreter.graphics.util.TypedWindow
initComponents, onResize, refresh
-
Field Details
-
frame
-
windowSpecs
-
danceName
-
songName
-
artistName
-
albumImage
-
hasAlbumImage
protected final boolean hasAlbumImage -
hasNextData
protected boolean hasNextData -
nextData
-
-
Constructor Details
-
FormattedSongWindow
- Parameters:
songWindowSpecs-
-
-
Method Details
-
onInit
- Specified by:
onInitin interfaceTypedWindow
-
calcEstimatedWidth
- Parameters:
comp-font-g-- Returns:
-
calcEstimatedWidth
- Parameters:
comp-g-- Returns:
-
calcEstimatedWidth
- Parameters:
comp-- Returns:
-
calcEstimatedHeight
- Parameters:
comp-font-g-- Returns:
-
calcEstimatedHeight
- Parameters:
comp-g-- Returns:
-
calcEstimatedHeight
- Parameters:
comp-- Returns:
-
calcSize
-
calcSize
-
calcSize
-
iconToImage
- Parameters:
icon-- Returns:
-
updateData
- Parameters:
data-
-
getWindowSpecs
- Returns:
-