Class FxControllerImpl

    • Constructor Detail

      • FxControllerImpl

        public FxControllerImpl()
    • Method Detail

      • initialize

        public void initialize​(URL url,
                               ResourceBundle resourceBundle)
        Specified by:
        initialize in interface javafx.fxml.Initializable
      • addEventHandler

        public void addEventHandler​(String id,
                                    javafx.event.EventHandler<javafx.event.Event> handler,
                                    javafx.event.EventType<?> eventType)
                             throws ComponentNotFoundException
        Description copied from interface: FxController
        Add a handler for an ActionEvent that comes from a component with a specific id.
        Specified by:
        addEventHandler in interface FxController
        Parameters:
        id - The id of the callback.
        handler - The handler to add.
        eventType - The EventType for Event to handle.
        Throws:
        ComponentNotFoundException
      • setScene

        public void setScene​(javafx.scene.Scene scene)
        Description copied from interface: FxController
        Sets a scene for this controller.
        Specified by:
        setScene in interface FxController
        Parameters:
        scene - The scene to set.