Interface FxmlNodeBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javafx.scene.Parent build()
      Creates a new node, as described by preceding options given to the builder.
      boolean canBuild()
      Can be (optionally) called before the build method to check if the call to build() will be successful.
    • Method Detail

      • build

        javafx.scene.Parent build()
        Creates a new node, as described by preceding options given to the builder.
        Returns:
        the new instance of the node
      • canBuild

        boolean canBuild()
        Can be (optionally) called before the build method to check if the call to build() will be successful. Even if this returns true it is not guaranteed that the build() method will for sure succeed (not throw an exception, but this method is more intended to check if with the options to the builder it makes sense at all to call the build method.
        Returns:
        true if a call to build() is promising, false otherwise