Interface FxContainer

All Superinterfaces:
FxControl
All Known Implementing Classes:
FxAccordion, FxAccordionDelegate, FxAnchorPane, FxAnchorPaneDelegate, FxBorderPane, FxBorderPaneDelegate, FxButtonBar, FxButtonBarDelegate, FxContainerDelegate, FxDialogPane, FxDialogPaneDelegate, FxFlowPane, FxFlowPaneDelegate, FxGridPane, FxGridPaneDelegate, FxHBox, FxHBoxDelegate, FxPane, FxPaneDelegate, FxScrollPane, FxScrollPaneDelegate, FxSplitPane, FxSplitPaneDelegate, FxStackPane, FxStackPaneDelegate, FxTab, FxTabDelegate, FxTabPane, FxTabPaneDelegate, FxTextFlow, FxTextFlowDelegate, FxTilePane, FxTilePaneDelegate, FxTitledPane, FxTitledPaneDelegate, FxToolBar, FxToolBarDelegate, FxVBox, FxVBoxDelegate

public interface FxContainer extends FxControl
Interface all tentackle Fx containers must implement.
Author:
harald
  • Method Details

    • getComponents

      javafx.collections.ObservableList<?> getComponents()
      Gets the component nodes 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(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.