Interface ImageProvider

  • All Known Implementing Classes:
    DefaultImageProvider

    public interface ImageProvider
    Provider and cache for images.

    All images are cached.

    Author:
    harald
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javafx.scene.image.Image getImage​(java.lang.String name)
      Gets an image.
      There is only one image instance per name.
      The name is a plain name, not a path and no type extension.
    • Method Detail

      • getImage

        javafx.scene.image.Image getImage​(java.lang.String name)
        Gets an image.
        There is only one image instance per name.
        The name is a plain name, not a path and no type extension.

        Throws IllegalArgumentException if image not found.

        Parameters:
        name - the image's name
        Returns:
        the image