- 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
Interface all tentackle Fx containers must implement.
- Author:
- harald
-
Property Summary
Properties inherited from interface org.tentackle.fx.FxControl
changeable, viewModified -
Method Summary
Modifier and TypeMethodDescriptionvoidClears all error messages in all components.javafx.collections.ObservableList<?>Gets the component nodes maintained by this container.Gets the controller of this container.<C extends FxController>
CgetController(Class<C> clazz) Gets the controller along the parent hierarchy that is an instanceof the given class.voidsetController(FxController controller) Sets the controller of this container.voidUpdates the view according to the model.
The method is the same asFxControl.updateView()but skips any focused component.Methods inherited from interface org.tentackle.fx.FxControl
addModelToViewListener, addViewToModelListener, changeableProperty, getDelegate, getHelpUrl, getParentContainer, invalidateSavedView, isBindable, isChangeable, isContainerChangeableIgnored, isViewModified, removeModelToViewListener, removeViewToModelListener, saveView, setBindable, setChangeable, setContainerChangeable, setContainerChangeableIgnored, setHelpUrl, setViewModified, showHelp, toGenericString, triggerViewModified, updateModel, updateView, viewModifiedProperty
-
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
Sets the controller of this container.- Parameters:
controller- the controller, null if nested container without a controller
-
getController
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 asFxControl.updateView()but skips any focused component.
-