- 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 TypeMethodDescriptionjavafx.scene.NodecreateGraphic(String name) Creates a graphic node.
ThrowsFxRuntimeException, if loading the image failed or no such image found.
-
Method Details
-
createGraphic
Creates a graphic node.
ThrowsFxRuntimeException, if loading the image failed or no such image found.- Parameters:
name- the graphic's name- Returns:
- the graphic node, never null
-