java.lang.Object
org.tentackle.fx.nofxml.DefaultNoFXMLLinker
- All Implemented Interfaces:
NoFXMLLinker
@Service(NoFXMLLinker.class)
public class DefaultNoFXMLLinker
extends Object
implements NoFXMLLinker
The default implementation of an
Injects the nodes, resources, invokes initialize and sets the view into the controller.
NoFXMLLinker.Injects the nodes, resources, invokes initialize and sets the view into the controller.
Notice that the old Initializable interface is not supported
and the initialize() method must be annotated with FXML to be invoked, even if public.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlink(javafx.scene.Parent view, FxController controller, ResourceBundle resources) Links the components and resources.
-
Constructor Details
-
DefaultNoFXMLLinker
public DefaultNoFXMLLinker()Creates a linker.
-
-
Method Details
-
link
Description copied from interface:NoFXMLLinkerLinks the components and resources.- Specified by:
linkin interfaceNoFXMLLinker- Parameters:
view- the viewcontroller- the controllerresources- the optional resources
-