Interface IViewProvider

All Known Implementing Classes:
FxmlViewProvider

public interface IViewProvider
Manages the JavaFX views used by application for presentation. These views are typically displayed as roots/children of scenes.
Author:
Erik Zemčík
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.scene.Parent
    Provides the root node of the requested view ready to be presented.
  • Method Details

    • getViewById

      javafx.scene.Parent getViewById(String viewId)
      Provides the root node of the requested view ready to be presented. The view is identified by the viewId parameter.
      Parameters:
      viewId - identification of the view
      Returns:
      root node of the view
      Throws:
      IllegalArgumentException - if viewId is null or empty
      UnknownViewException - if the view is not known by the provider