java.lang.Object
javafx.scene.control.SkinBase<Breadcrumbs<T>>
atlantafx.base.controls.BreadcrumbsSkin<T>
- All Implemented Interfaces:
javafx.scene.control.Skin<Breadcrumbs<T>>
The default skin for the
Breadcrumbs control.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final javafx.css.PseudoClassprotected static final javafx.css.PseudoClassprotected final javafx.event.EventHandler<javafx.scene.control.TreeItem.TreeModificationEvent<Object>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) protected List<Breadcrumbs.BreadCrumbItem<T>> constructFlatPath(Breadcrumbs.BreadCrumbItem<T> bottomMost) Construct a flat list for the crumbs.protected javafx.scene.control.ButtonBasecreateCrumb(Breadcrumbs.BreadCrumbItem<T> treeItem) protected javafx.scene.NodecreateDivider(Breadcrumbs.BreadCrumbItem<T> treeItem) protected voidlayoutChildren(double x, double y, double width, double height) protected voidonBreadCrumbAction(Breadcrumbs.BreadCrumbItem<T> crumbModel) Occurs when a bread crumb gets the action event.protected voidprotected voidMethods inherited from class javafx.scene.control.SkinBase
computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computePrefHeight, computePrefWidth, consumeMouseEvents, dispose, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListenersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javafx.scene.control.Skin
install
-
Field Details
-
FIRST
protected static final javafx.css.PseudoClass FIRST -
LAST
protected static final javafx.css.PseudoClass LAST -
treeChildrenModifiedHandler
protected final javafx.event.EventHandler<javafx.scene.control.TreeItem.TreeModificationEvent<Object>> treeChildrenModifiedHandler
-
-
Constructor Details
-
BreadcrumbsSkin
-
-
Method Details
-
layoutChildren
protected void layoutChildren(double x, double y, double width, double height) - Overrides:
layoutChildrenin classjavafx.scene.control.SkinBase<Breadcrumbs<T>>
-
computeMinWidth
protected double computeMinWidth(double height, double topInset, double rightInset, double bottomInset, double leftInset) - Overrides:
computeMinWidthin classjavafx.scene.control.SkinBase<Breadcrumbs<T>>
-
updateSelectedPath
protected void updateSelectedPath(Breadcrumbs.BreadCrumbItem<T> old, Breadcrumbs.BreadCrumbItem<T> val) -
updateBreadCrumbs
protected void updateBreadCrumbs() -
constructFlatPath
protected List<Breadcrumbs.BreadCrumbItem<T>> constructFlatPath(Breadcrumbs.BreadCrumbItem<T> bottomMost) Construct a flat list for the crumbs.- Parameters:
bottomMost- The crumb node at the end of the path
-
createCrumb
-
createDivider
-
onBreadCrumbAction
Occurs when a bread crumb gets the action event.- Parameters:
crumbModel- The crumb which received the action event
-