public interface ResourcePool
| Modifier and Type | Method and Description |
|---|---|
@NonNull javafx.scene.image.Image |
getImage(@NonNull java.lang.String imageKey)
Get a registered image from the pool
|
@Nullable javafx.scene.image.Image |
getImageUnchecked(@NonNull java.lang.String imageKey)
Get a registered image or
null |
@NonNull javafx.scene.image.Image getImage(@NonNull java.lang.String imageKey)
throws java.io.IOException
imageKey - the image keyjava.io.IOException - if there's a problem loading the image@Nullable javafx.scene.image.Image getImageUnchecked(@NonNull java.lang.String imageKey)
nullimageKey - the image key