public abstract class AbstractDajlabTab
extends javafx.scene.control.Tab
closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, graphicProperty, idProperty, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, styleProperty, tabPaneProperty, textProperty, tooltipProperty| Constructor and Description |
|---|
AbstractDajlabTab() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableRenaming(String picturePath)
If used, this method allows the renaming of a tab by the user with a
double-click on the icon of the tab.
|
protected javafx.scene.image.ImageView |
getIcon(String picturePath)
Return a picture node from the path.
|
abstract void |
updateTitle(String title)
Update the tab title.
|
buildEventDispatchChain, closableProperty, contentProperty, contextMenuProperty, disabledProperty, disableProperty, getClassCssMetaData, getContent, getContextMenu, getCssMetaData, getGraphic, getId, getOnClosed, getOnCloseRequest, getOnSelectionChanged, getProperties, getPseudoClassStates, getStyle, getStyleableParent, getStyleClass, getTabPane, getText, getTooltip, getTypeSelector, getUserData, graphicProperty, hasProperties, idProperty, isClosable, isDisable, isDisabled, isSelected, onClosedProperty, onCloseRequestProperty, onSelectionChangedProperty, selectedProperty, setClosable, setContent, setContextMenu, setDisable, setEventHandler, setGraphic, setId, setOnClosed, setOnCloseRequest, setOnSelectionChanged, setStyle, setText, setTooltip, setUserData, styleProperty, tabPaneProperty, textProperty, tooltipPropertypublic final void enableRenaming(String picturePath)
picturePath - path of the icon (will be fit to 20px height)protected javafx.scene.image.ImageView getIcon(String picturePath)
picturePath - pathpublic abstract void updateTitle(String title)
title - titleCopyright © 2018. All rights reserved.