public class ArchFaceProvider extends AbstractFaceProvider
| Constructor and Description |
|---|
ArchFaceProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfo(@NotNull java.lang.String faceName,
@NotNull java.lang.String fileName)
Report position of a face for loading it later.
|
protected @Nullable javax.swing.ImageIcon |
createImage(@NotNull java.lang.String faceName,
long stretch)
Creates an image not found in the cache.
|
@Nullable java.lang.String |
getFilename(@NotNull java.lang.String faceName)
Get the filename for a face.
|
int |
size()
Returns the number of faces.
|
getImageIconForFacename, reloadpublic int size()
public void addInfo(@NotNull
@NotNull java.lang.String faceName,
@NotNull
@NotNull java.lang.String fileName)
faceName - face name to get image for, excluding path and endingfileName - filename with full reachable path of the png file (maybe
relative but must be loadable).@Nullable
public @Nullable java.lang.String getFilename(@NotNull
@NotNull java.lang.String faceName)
faceName - face name to get filename forfaceName or null if no face@Nullable
protected @Nullable javax.swing.ImageIcon createImage(@NotNull
@NotNull java.lang.String faceName,
long stretch)
AbstractFaceProvidercreateImage in class AbstractFaceProviderfaceName - face name to get image for, excluding path and endingstretch - stretch factor