public class FaceImages
extends java.lang.Object
ImageIcons
representing a Face
.Modifier and Type | Field and Description |
---|---|
private javax.swing.ImageIcon |
magicMapImageIcon
The
ImageIcon scaled for the magic map view. |
private javax.swing.ImageIcon |
originalImageIcon
The
ImageIcon as sent by the Crossfire server. |
private javax.swing.ImageIcon |
scaledImageIcon
The
ImageIcon scaled for the map view. |
Constructor and Description |
---|
FaceImages(javax.swing.ImageIcon originalImageIcon,
javax.swing.ImageIcon scaledImageIcon,
javax.swing.ImageIcon magicMapImageIcon)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.ImageIcon |
getMagicMapImageIcon()
Returns the
ImageIcon scaled for the magic map view. |
javax.swing.ImageIcon |
getOriginalImageIcon()
Returns the
ImageIcon as sent by the Crossfire server. |
javax.swing.ImageIcon |
getScaledImageIcon()
Returns the
ImageIcon scaled for the map view. |
@NotNull private final javax.swing.ImageIcon magicMapImageIcon
ImageIcon
scaled for the magic map view.@NotNull private final javax.swing.ImageIcon originalImageIcon
ImageIcon
as sent by the Crossfire server.@NotNull private final javax.swing.ImageIcon scaledImageIcon
ImageIcon
scaled for the map view.public FaceImages(@NotNull javax.swing.ImageIcon originalImageIcon, @NotNull javax.swing.ImageIcon scaledImageIcon, @NotNull javax.swing.ImageIcon magicMapImageIcon)
originalImageIcon
- the image icon as sent by the Crossfire serverscaledImageIcon
- the image icon scaled for the map viewmagicMapImageIcon
- the image icon scaled for the magic map view@NotNull public javax.swing.ImageIcon getMagicMapImageIcon()
ImageIcon
scaled for the magic map view.@NotNull public javax.swing.ImageIcon getOriginalImageIcon()
ImageIcon
as sent by the Crossfire server.@NotNull public javax.swing.ImageIcon getScaledImageIcon()
ImageIcon
scaled for the map view.