Crossfire JXClient, Trunk  R20561
com.realtime.crossfire.jxclient.faces.FaceImages Class Reference

Consists of three ImageIcons representing a Face. More...

+ Collaboration diagram for com.realtime.crossfire.jxclient.faces.FaceImages:

Public Member Functions

 FaceImages (@NotNull final ImageIcon originalImageIcon, @NotNull final ImageIcon scaledImageIcon, @NotNull final ImageIcon magicMapImageIcon)
 Creates a new instance. More...
 
ImageIcon getMagicMapImageIcon ()
 Returns the ImageIcon scaled for the magic map view. More...
 
ImageIcon getOriginalImageIcon ()
 Returns the ImageIcon as sent by the Crossfire server. More...
 
ImageIcon getScaledImageIcon ()
 Returns the ImageIcon scaled for the map view. More...
 

Private Attributes

final ImageIcon magicMapImageIcon
 The ImageIcon scaled for the magic map view. More...
 
final ImageIcon originalImageIcon
 The ImageIcon as sent by the Crossfire server. More...
 
final ImageIcon scaledImageIcon
 The ImageIcon scaled for the map view. More...
 

Detailed Description

Consists of three ImageIcons representing a Face.

Author
Andreas Kirschbaum

Definition at line 31 of file FaceImages.java.

Constructor & Destructor Documentation

◆ FaceImages()

com.realtime.crossfire.jxclient.faces.FaceImages.FaceImages ( @NotNull final ImageIcon  originalImageIcon,
@NotNull final ImageIcon  scaledImageIcon,
@NotNull final ImageIcon  magicMapImageIcon 
)

Creates a new instance.

Parameters
originalImageIconthe image icon as sent by the Crossfire server
scaledImageIconthe image icon scaled for the map view
magicMapImageIconthe image icon scaled for the magic map view

Definition at line 57 of file FaceImages.java.

References com.realtime.crossfire.jxclient.faces.FaceImages.magicMapImageIcon, com.realtime.crossfire.jxclient.faces.FaceImages.originalImageIcon, and com.realtime.crossfire.jxclient.faces.FaceImages.scaledImageIcon.

Member Function Documentation

◆ getMagicMapImageIcon()

ImageIcon com.realtime.crossfire.jxclient.faces.FaceImages.getMagicMapImageIcon ( )

Returns the ImageIcon scaled for the magic map view.

Returns
the image icon

Definition at line 86 of file FaceImages.java.

References com.realtime.crossfire.jxclient.faces.FaceImages.magicMapImageIcon.

Referenced by com.realtime.crossfire.jxclient.faces.AbstractFacesManager.getMagicMapImageIcon(), and com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue.SaveTask.run().

+ Here is the caller graph for this function:

◆ getOriginalImageIcon()

ImageIcon com.realtime.crossfire.jxclient.faces.FaceImages.getOriginalImageIcon ( )

◆ getScaledImageIcon()

ImageIcon com.realtime.crossfire.jxclient.faces.FaceImages.getScaledImageIcon ( )

Returns the ImageIcon scaled for the map view.

Returns
the image icon

Definition at line 77 of file FaceImages.java.

References com.realtime.crossfire.jxclient.faces.FaceImages.scaledImageIcon.

Referenced by com.realtime.crossfire.jxclient.faces.AbstractFacesManager.getScaledImageIcon(), and com.realtime.crossfire.jxclient.faces.FileCacheFaceQueue.SaveTask.run().

+ Here is the caller graph for this function:

Member Data Documentation

◆ magicMapImageIcon

final ImageIcon com.realtime.crossfire.jxclient.faces.FaceImages.magicMapImageIcon
private

◆ originalImageIcon

final ImageIcon com.realtime.crossfire.jxclient.faces.FaceImages.originalImageIcon
private

◆ scaledImageIcon

final ImageIcon com.realtime.crossfire.jxclient.faces.FaceImages.scaledImageIcon
private

The documentation for this class was generated from the following file: