Interface FxContainer

    • Method Detail

      • getComponents

        javafx.collections.ObservableList<?> getComponents()
        Gets the fx components maintained by this container.
        Returns:
        list of components
      • clearErrors

        void clearErrors()
        Clears all error messages in all components.
      • getController

        FxController getController()
        Gets the controller of this container.
        Returns:
        the controller, null if nested container without a controller
      • setController

        void setController​(FxController controller)
        Sets the controller of this container.
        Parameters:
        controller - the controller, null if nested container without a controller
      • getController

        <C extends FxController> C getController​(java.lang.Class<C> clazz)
        Gets the controller along the parent hierarchy that is an instanceof the given class.
        Type Parameters:
        C - the controller type
        Parameters:
        clazz - the controller class
        Returns:
        the controller, null if no such controller
      • updateViewNonFocused

        void updateViewNonFocused()
        Updates the view according to the model.
        The method is the same as FxControl.updateView() but skips any focused component.