Class AbstractFxmlNodeBuilder<F extends ControllerFactory>

    • Method Summary

      All Methods Instance Methods Concrete 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 FxmlNodeBuilder.build() will be successful.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • canBuild

        public final boolean canBuild()
        Description copied from interface: FxmlNodeBuilder
        Can be (optionally) called before the build method to check if the call to FxmlNodeBuilder.build() will be successful. Even if this returns true it is not guaranteed that the FxmlNodeBuilder.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.
        Specified by:
        canBuild in interface FxmlNodeBuilder
        Returns:
        true if a call to FxmlNodeBuilder.build() is promising, false otherwise
      • build

        public final javafx.scene.Parent build()
        Description copied from interface: FxmlNodeBuilder
        Creates a new node, as described by preceding options given to the builder.
        Specified by:
        build in interface FxmlNodeBuilder
        Returns:
        the new instance of the node