Uses of Class
io.github.palexdev.materialfx.utils.others.loader.MFXLoaderBean
Packages that use MFXLoaderBean
Package
Description
-
Uses of MFXLoaderBean in io.github.palexdev.materialfx.utils
Methods in io.github.palexdev.materialfx.utils with parameters of type MFXLoaderBeanModifier and TypeMethodDescriptionstatic ParentLoaderUtils.fxmlLoad(MFXLoaderBean loaderBean) Creates a new FXMLLoader with locationgetFxmlFile()and controllergetControllerFactory()(if not null) and loads the fxml file.static ParentLoaderUtils.fxmlLoad(FXMLLoader fxmlLoader, MFXLoaderBean loaderBean) Sets the location and the controller factory (if not null) for the given fxmlLoader withgetFxmlFile()andgetControllerFactory(), and loads the fxml file. -
Uses of MFXLoaderBean in io.github.palexdev.materialfx.utils.others.loader
Methods in io.github.palexdev.materialfx.utils.others.loader that return MFXLoaderBeanModifier and TypeMethodDescriptionMFXLoaderBean.Builder.get()MFXLoaderBean.setBeanToNodeMapper(Supplier<Node> beanToNodeMapper) Sets the supplier used to convert this view into aNode.MFXLoaderBean.setControllerFactory(Callback<Class<?>, Object> controllerFactory) Sets the callback used to produce the view's controller.MFXLoaderBean.setDefaultView(boolean defaultView) Sets whether this view should be considered the default view.Methods in io.github.palexdev.materialfx.utils.others.loader that return types with arguments of type MFXLoaderBeanMethods in io.github.palexdev.materialfx.utils.others.loader with parameters of type MFXLoaderBeanModifier and TypeMethodDescriptionMFXLoader.addView(MFXLoaderBean bean) Adds the given view to the views map.Method parameters in io.github.palexdev.materialfx.utils.others.loader with type arguments of type MFXLoaderBeanModifier and TypeMethodDescriptionprotected voidMFXLoader.onLoaded(List<MFXLoaderBean> beans) This method is called once all the views have been loaded byMFXLoader.start()orMFXLoader.startWith(ExecutorService).MFXLoader.setOnLoadedAction(Consumer<List<MFXLoaderBean>> onLoadedAction) Sets the action to perform once all the views have been loaded.Constructor parameters in io.github.palexdev.materialfx.utils.others.loader with type arguments of type MFXLoaderBean