com.realtime.crossfire.jxclient.faces
Class FaceImages

java.lang.Object
  extended by com.realtime.crossfire.jxclient.faces.FaceImages

public class FaceImages
extends java.lang.Object

Consists of three ImageIcons 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

magicMapImageIcon

@NotNull
private final javax.swing.ImageIcon magicMapImageIcon
The ImageIcon scaled for the magic map view.


originalImageIcon

@NotNull
private final javax.swing.ImageIcon originalImageIcon
The ImageIcon as sent by the Crossfire server.


scaledImageIcon

@NotNull
private final javax.swing.ImageIcon scaledImageIcon
The ImageIcon scaled for the map view.

Constructor Detail

FaceImages

public FaceImages(@NotNull
                  javax.swing.ImageIcon originalImageIcon,
                  @NotNull
                  javax.swing.ImageIcon scaledImageIcon,
                  @NotNull
                  javax.swing.ImageIcon magicMapImageIcon)
Creates a new instance.

Parameters:
originalImageIcon - the image icon as sent by the Crossfire server
scaledImageIcon - the image icon scaled for the map view
magicMapImageIcon - the image icon scaled for the magic map view
Method Detail

getMagicMapImageIcon

@NotNull
public javax.swing.ImageIcon getMagicMapImageIcon()
Returns the ImageIcon scaled for the magic map view.

Returns:
the image icon

getOriginalImageIcon

@NotNull
public javax.swing.ImageIcon getOriginalImageIcon()
Returns the ImageIcon as sent by the Crossfire server.

Returns:
the image icon

getScaledImageIcon

@NotNull
public javax.swing.ImageIcon getScaledImageIcon()
Returns the ImageIcon scaled for the map view.

Returns:
the image icon