-
- 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclearErrors()Clears all error messages in all components.javafx.collections.ObservableList<?>getComponents()Gets the fx components maintained by this container.FxControllergetController()Gets the controller of this container.<C extends FxController>
CgetController(java.lang.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.voidupdateViewNonFocused()Updates 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, setContainerChangableIgnored, setContainerChangeable, setHelpUrl, setViewModified, showHelp, toGenericString, triggerViewModified, updateModel, updateView, viewModifiedProperty
-
-
-
-
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 asFxControl.updateView()but skips any focused component.
-
-