public class OriginalFacesProvider extends java.lang.Object implements FacesProvider
FacesProvider
that returns faces scaled to 64x64 pixels.Constructor and Description |
---|
OriginalFacesProvider(@NotNull FacesManager facesManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull javax.swing.ImageIcon |
getImageIcon(int faceNum,
@Nullable java.util.concurrent.atomic.AtomicBoolean returnIsUnknownImage)
Returns the face for a face ID.
|
int |
getSize()
Returns the size of faces in pixels.
|
public OriginalFacesProvider(@NotNull @NotNull FacesManager facesManager)
facesManager
- the faces manager to querypublic int getSize()
FacesProvider
getSize
in interface FacesProvider
@NotNull public @NotNull javax.swing.ImageIcon getImageIcon(int faceNum, @Nullable @Nullable java.util.concurrent.atomic.AtomicBoolean returnIsUnknownImage)
FacesProvider
getImageIcon
in interface FacesProvider
faceNum
- the face IDreturnIsUnknownImage
- returns whether the returned face is the
"unknown" face; ignored if null