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 BufferedImage
protected String
protected String
protected JFrame
protected final boolean
protected boolean
protected SongData
protected String
protected final SongWindowSpecs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
calcEstimatedHeight
(JLabel comp) protected int
calcEstimatedHeight
(JLabel comp, Font font, Graphics g) protected int
calcEstimatedHeight
(JLabel comp, Graphics g) protected int
calcEstimatedWidth
(JLabel comp) protected int
calcEstimatedWidth
(JLabel comp, Font font, Graphics g) protected int
calcEstimatedWidth
(JLabel comp, Graphics g) protected DIVector
protected DIVector
protected DIVector
static BufferedImage
iconToImage
(Icon icon) void
void
updateData
(SongData data) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
onInit
in 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:
-