Gridarta Editor
net.sf.gridarta.model.face.EmptyFaceProvider Class Reference

A FaceProvider that does not return any faces. More...

+ Inheritance diagram for net.sf.gridarta.model.face.EmptyFaceProvider:
+ Collaboration diagram for net.sf.gridarta.model.face.EmptyFaceProvider:

Public Member Functions

ImageIcon getImageIconForFacename (@NotNull final String faceName, final long stretch)
 Get an image from this FaceProvider. More...
 
void reload ()
 Reload faces. More...
 

Detailed Description

A FaceProvider that does not return any faces.

Author
Andreas Kirschbaum

Definition at line 30 of file EmptyFaceProvider.java.

Member Function Documentation

◆ getImageIconForFacename()

ImageIcon net.sf.gridarta.model.face.EmptyFaceProvider.getImageIconForFacename ( @NotNull final String  faceName,
final long  stretch 
)

Get an image from this FaceProvider.

Parameters
faceNameface name to get image for, excluding path and ending
Returns
icon for faceName

Implements net.sf.gridarta.model.face.FaceProvider.

Definition at line 34 of file EmptyFaceProvider.java.

◆ reload()

void net.sf.gridarta.model.face.EmptyFaceProvider.reload ( )

Reload faces.

This method does not really immediately reload all faces, lazy loading is allowed. But all old face information definitely is flushed, so in case the files on hard disk have changed, they will be freshly loaded from hard disk.

Implements net.sf.gridarta.model.face.FaceProvider.

Definition at line 39 of file EmptyFaceProvider.java.


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