public abstract class AbstractFaceProvider extends java.lang.Object implements FaceProvider
Constructor and Description |
---|
AbstractFaceProvider() |
Modifier and Type | Method and Description |
---|---|
protected abstract @Nullable javax.swing.ImageIcon |
createImage(@NotNull java.lang.String faceName,
long stretch)
Creates an image not found in the cache.
|
@Nullable javax.swing.ImageIcon |
getImageIconForFacename(@NotNull java.lang.String faceName,
long stretch)
Get an image from this FaceProvider.
|
void |
reload()
Reload faces.
|
@Nullable public @Nullable javax.swing.ImageIcon getImageIconForFacename(@NotNull @NotNull java.lang.String faceName, long stretch)
FaceProvider
getImageIconForFacename
in interface FaceProvider
faceName
- face name to get image for, excluding path and endingpublic void reload()
FaceProvider
reload
in interface FaceProvider
@Nullable protected abstract @Nullable javax.swing.ImageIcon createImage(@NotNull @NotNull java.lang.String faceName, long stretch)
faceName
- face name to get image for, excluding path and endingstretch
- stretch factor