com.realtime.crossfire.jxclient.faces
Class FaceImagesUtils

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

public class FaceImagesUtils
extends java.lang.Object

Utility class for creating FaceImages instances.


Constructor Summary
private FaceImagesUtils()
          Private constructor to prevent instantiation.
 
Method Summary
static FaceImages newEmptyFaceImages()
          Creates a new FaceImages instance consisting of empty images.
static FaceImages newFaceImages(javax.swing.ImageIcon originalImageIcon)
          Creates a new FaceImages instance from an "original" face; the "scaled" and "magic map" sized images are calculated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaceImagesUtils

private FaceImagesUtils()
Private constructor to prevent instantiation.

Method Detail

newEmptyFaceImages

@NotNull
public static FaceImages newEmptyFaceImages()
Creates a new FaceImages instance consisting of empty images.

Returns:
the face images instance

newFaceImages

@NotNull
public static FaceImages newFaceImages(@NotNull
                                               javax.swing.ImageIcon originalImageIcon)
Creates a new FaceImages instance from an "original" face; the "scaled" and "magic map" sized images are calculated.

Parameters:
originalImageIcon - the original face
Returns:
the face images instance