java.lang.Object com.realtime.crossfire.jxclient.faces.FaceImages
public class FaceImages
Consists of three ImageIcon
s representing a Face
.
Field Summary | |
---|---|
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 Summary | |
---|---|
FaceImages(javax.swing.ImageIcon originalImageIcon,
javax.swing.ImageIcon scaledImageIcon,
javax.swing.ImageIcon magicMapImageIcon)
Creates a new instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@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.
Constructor Detail |
---|
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 viewMethod Detail |
---|
@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.