Interface GraphicProvider

All Known Implementing Classes:
DefaultGraphicProvider, IkonliGraphicProvider, ImageGraphicProvider

public interface GraphicProvider
Provider for icons, images and nodes with graphical content in general.

Graphics are categorized in realms. The default realm is used by the framework. Applications should use their own realm.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.scene.Node
    Creates a graphic node.
    Throws FxRuntimeException, if loading the image failed or no such image found.
  • Method Details

    • createGraphic

      javafx.scene.Node createGraphic(String name)
      Creates a graphic node.
      Throws FxRuntimeException, if loading the image failed or no such image found.
      Parameters:
      name - the graphic's name
      Returns:
      the graphic node, never null