public class BreadcrumbBar
extends javafx.scene.control.Control
Type | Property and Description |
---|---|
javafx.beans.property.ObjectProperty<BreadcrumbItem> |
homeItem
The item considered ad home for the bar.
|
javafx.beans.property.ReadOnlyListProperty<BreadcrumbItem> |
items
Contains all items added to the bar.
|
javafx.beans.property.ObjectProperty<BreadcrumbBarEventHandler> |
onItemAction
Get the event handler that is applied to each item in the bar.
|
contextMenuProperty, heightProperty, maxHeightProperty, maxWidthProperty, minHeightProperty, minWidthProperty, prefHeightProperty, prefWidthProperty, skinClassNameProperty, skinProperty, tooltipProperty, widthProperty
impl_traversalEngineProperty, needsLayoutProperty
blendModeProperty, boundsInLocalProperty, boundsInParentProperty, cacheHintProperty, cacheProperty, clipProperty, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, focusedProperty, focusTraversableProperty, hoverProperty, idProperty, impl_showMnemonicsProperty, inputMethodRequestsProperty, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParentTransformProperty, localToSceneTransformProperty, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, pickOnBoundsProperty, pressedProperty, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, styleProperty, translateXProperty, translateYProperty, translateZProperty, visibleProperty
Constructor and Description |
---|
BreadcrumbBar()
Create a new BreadcrumbBar.
|
Modifier and Type | Method and Description |
---|---|
BreadcrumbItem |
addHome(javafx.scene.Node content)
Define the home item for this bar.
|
BreadcrumbItem |
addItem(BreadcrumbItem item)
Add a new item at the end of the bar.
|
BreadcrumbItem |
addItem(javafx.scene.image.Image icon,
javafx.scene.Node content)
Create a new item in the bar with no text.
|
BreadcrumbItem |
addItem(java.lang.String text,
javafx.scene.image.Image icon,
javafx.scene.Node content)
Create a new item in the bar.
|
BreadcrumbItem |
addItem(java.lang.String text,
javafx.scene.Node content)
Create a new item in the bar without an icon.
|
BreadcrumbItem |
addItem(java.lang.String text,
javafx.scene.shape.SVGPath svgIcon,
javafx.scene.Node content)
Create a new item in the bar.
|
BreadcrumbItem |
getHomeItem()
Get the BreadcrumbItem considered as home for this bar.
|
BreadcrumbBarEventHandler |
getOnItemAction()
Get the event handler that is applied to each item in the bar.
|
protected java.lang.String |
getUserAgentStylesheet() |
javafx.beans.property.ObjectProperty<BreadcrumbItem> |
homeItemProperty()
The item considered ad home for the bar.
|
javafx.beans.property.ReadOnlyListProperty<BreadcrumbItem> |
itemsProperty()
Contains all items added to the bar.
|
javafx.beans.property.ObjectProperty<BreadcrumbBarEventHandler> |
onItemActionProperty()
Get the event handler that is applied to each item in the bar.
|
boolean |
removeItem(BreadcrumbItem item)
Remove an item and every following items in the bar.
|
boolean |
removeItem(int index)
Remove the item at the given index and every following item.
|
void |
setHomeItem(BreadcrumbItem homeItem)
Set the home item for the bar.
|
void |
setOnItemAction(BreadcrumbBarEventHandler handler)
Define the event handler that will be applied to each item in the bar.
|
computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, contextMenuProperty, getBaselineOffset, getContextMenu, getHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getSkin, getTooltip, getWidth, heightProperty, impl_computeContains, impl_computeLayoutBounds, impl_CSS_STYLEABLES, impl_cssGetFocusTraversableInitialValue, impl_getStyleableProperties, impl_notifyLayoutBoundsChanged, impl_processCSS, intersects, isResizable, layoutChildren, maxHeight, maxHeightProperty, maxWidth, maxWidthProperty, minHeight, minHeightProperty, minWidth, minWidthProperty, prefHeight, prefHeightProperty, prefWidth, prefWidthProperty, resize, setContextMenu, setHeight, setMaxHeight, setMaxSize, setMaxWidth, setMinHeight, setMinSize, setMinWidth, setPrefHeight, setPrefSize, setPrefWidth, setSkin, setSkinClassName, setTooltip, setWidth, skinClassNameProperty, skinProperty, tooltipProperty, widthProperty
getChildren, getChildrenUnmodifiable, getImpl_traversalEngine, getManagedChildren, getStylesheets, impl_computeGeomBounds, impl_createPGNode, impl_cssResetInitialValues, impl_geomChanged, impl_getAllParentStylesheets, impl_pickNodeLocal, impl_pickNodeLocal, impl_processMXNode, impl_traversalEngineProperty, impl_updatePG, isNeedsLayout, layout, lookup, needsLayoutProperty, requestLayout, setImpl_traversalEngine, setNeedsLayout
addEventFilter, addEventHandler, autosize, blendModeProperty, boundsInLocalProperty, boundsInParentProperty, buildEventDispatchChain, cacheHintProperty, cacheProperty, clipProperty, contains, contains, containsBounds, cursorProperty, depthTestProperty, disabledProperty, disableProperty, effectProperty, eventDispatcherProperty, fireEvent, focusedProperty, focusTraversableProperty, getBlendMode, getBoundsInLocal, getBoundsInParent, getCacheHint, getClip, getContentBias, getCursor, getDepthTest, getEffect, getEventDispatcher, getId, getInputMethodRequests, getLayoutBounds, getLayoutX, getLayoutY, getLocalToParentTransform, getLocalToSceneTransform, getOnContextMenuRequested, getOnDragDetected, getOnDragDone, getOnDragDropped, getOnDragEntered, getOnDragExited, getOnDragOver, getOnInputMethodTextChanged, getOnKeyPressed, getOnKeyReleased, getOnKeyTyped, getOnMouseClicked, getOnMouseDragEntered, getOnMouseDragExited, getOnMouseDragged, getOnMouseDragOver, getOnMouseDragReleased, getOnMouseEntered, getOnMouseExited, getOnMouseMoved, getOnMousePressed, getOnMouseReleased, getOnRotate, getOnRotationFinished, getOnRotationStarted, getOnScroll, getOnScrollFinished, getOnScrollStarted, getOnSwipeDown, getOnSwipeLeft, getOnSwipeRight, getOnSwipeUp, getOnTouchMoved, getOnTouchPressed, getOnTouchReleased, getOnTouchStationary, getOnZoom, getOnZoomFinished, getOnZoomStarted, getOpacity, getParent, getProperties, getRotate, getRotationAxis, getScaleX, getScaleY, getScaleZ, getScene, getStyle, getStyleClass, getTransforms, getTranslateX, getTranslateY, getTranslateZ, getUserData, hasProperties, hoverProperty, idProperty, impl_clearDirty, impl_createStyleHelper, impl_cssGetCursorInitialValue, impl_getLeafTransform, impl_getPGNode, impl_getPivotX, impl_getPivotY, impl_getPivotZ, impl_getPseudoClassState, impl_getStyleable, impl_getStyleHelper, impl_getStyleMap, impl_hasTransforms, impl_intersects, impl_isDirty, impl_isDirtyEmpty, impl_isShowMnemonics, impl_isTreeVisible, impl_layoutBoundsChanged, impl_markDirty, impl_pickNode, impl_pickNode, impl_pseudoClassStateChanged, impl_reapplyCSS, impl_setShowMnemonics, impl_setStyleMap, impl_showMnemonicsProperty, impl_syncPGNode, impl_transformsChanged, impl_traverse, inputMethodRequestsProperty, intersects, isCache, isDisable, isDisabled, isFocused, isFocusTraversable, isHover, isManaged, isMouseTransparent, isPickOnBounds, isPressed, isVisible, layoutBoundsProperty, layoutXProperty, layoutYProperty, localToParent, localToParent, localToParent, localToParentTransformProperty, localToScene, localToScene, localToScene, localToSceneTransformProperty, lookupAll, managedProperty, mouseTransparentProperty, onContextMenuRequestedProperty, onDragDetectedProperty, onDragDoneProperty, onDragDroppedProperty, onDragEnteredProperty, onDragExitedProperty, onDragOverProperty, onInputMethodTextChangedProperty, onKeyPressedProperty, onKeyReleasedProperty, onKeyTypedProperty, onMouseClickedProperty, onMouseDragEnteredProperty, onMouseDragExitedProperty, onMouseDraggedProperty, onMouseDragOverProperty, onMouseDragReleasedProperty, onMouseEnteredProperty, onMouseExitedProperty, onMouseMovedProperty, onMousePressedProperty, onMouseReleasedProperty, onRotateProperty, onRotationFinishedProperty, onRotationStartedProperty, onScrollFinishedProperty, onScrollProperty, onScrollStartedProperty, onSwipeDownProperty, onSwipeLeftProperty, onSwipeRightProperty, onSwipeUpProperty, onTouchMovedProperty, onTouchPressedProperty, onTouchReleasedProperty, onTouchStationaryProperty, onZoomFinishedProperty, onZoomProperty, onZoomStartedProperty, opacityProperty, parentProperty, parentToLocal, parentToLocal, parentToLocal, pickOnBoundsProperty, pressedProperty, relocate, removeEventFilter, removeEventHandler, requestFocus, resizeRelocate, rotateProperty, rotationAxisProperty, scaleXProperty, scaleYProperty, scaleZProperty, sceneProperty, sceneToLocal, sceneToLocal, sceneToLocal, setBlendMode, setCache, setCacheHint, setClip, setCursor, setDepthTest, setDisable, setDisabled, setEffect, setEventDispatcher, setEventHandler, setFocused, setFocusTraversable, setHover, setId, setInputMethodRequests, setLayoutX, setLayoutY, setManaged, setMouseTransparent, setOnContextMenuRequested, setOnDragDetected, setOnDragDone, setOnDragDropped, setOnDragEntered, setOnDragExited, setOnDragOver, setOnInputMethodTextChanged, setOnKeyPressed, setOnKeyReleased, setOnKeyTyped, setOnMouseClicked, setOnMouseDragEntered, setOnMouseDragExited, setOnMouseDragged, setOnMouseDragOver, setOnMouseDragReleased, setOnMouseEntered, setOnMouseExited, setOnMouseMoved, setOnMousePressed, setOnMouseReleased, setOnRotate, setOnRotationFinished, setOnRotationStarted, setOnScroll, setOnScrollFinished, setOnScrollStarted, setOnSwipeDown, setOnSwipeLeft, setOnSwipeRight, setOnSwipeUp, setOnTouchMoved, setOnTouchPressed, setOnTouchReleased, setOnTouchStationary, setOnZoom, setOnZoomFinished, setOnZoomStarted, setOpacity, setPickOnBounds, setPressed, setRotate, setRotationAxis, setScaleX, setScaleY, setScaleZ, setStyle, setTranslateX, setTranslateY, setTranslateZ, setUserData, setVisible, snapshot, snapshot, startDragAndDrop, startFullDrag, styleProperty, toBack, toFront, toString, translateXProperty, translateYProperty, translateZProperty, visibleProperty
public final javafx.beans.property.ReadOnlyListProperty<BreadcrumbItem> itemsProperty()
public final javafx.beans.property.ObjectProperty<BreadcrumbItem> homeItemProperty()
public final BreadcrumbItem getHomeItem()
public final void setHomeItem(BreadcrumbItem homeItem)
homeItem
- public final javafx.beans.property.ObjectProperty<BreadcrumbBarEventHandler> onItemActionProperty()
public final BreadcrumbBarEventHandler getOnItemAction()
public final void setOnItemAction(BreadcrumbBarEventHandler handler)
handler
- the new handler that will be executed for a click on each
item in the bar.public final BreadcrumbItem addItem(BreadcrumbItem item)
item
- the item to add in the bar.public final BreadcrumbItem addHome(javafx.scene.Node content)
content
- the content of the home item.public final BreadcrumbItem addItem(java.lang.String text, javafx.scene.image.Image icon, javafx.scene.Node content)
text
- The text of the item, could be nullicon
- The icon of the item, could be nullcontent
- The content of the item, could be nullpublic final BreadcrumbItem addItem(java.lang.String text, javafx.scene.shape.SVGPath svgIcon, javafx.scene.Node content)
text
- The text of the item, could be nullsvgIcon
- The SVG icon of the item, could be nullcontent
- The content of the item, could be nullpublic final BreadcrumbItem addItem(java.lang.String text, javafx.scene.Node content)
text
- The text of the item, could be nullcontent
- The content of the item, could be nullpublic final BreadcrumbItem addItem(javafx.scene.image.Image icon, javafx.scene.Node content)
icon
- The icon of the item, could be nullcontent
- The content of the item, could be nullpublic final boolean removeItem(BreadcrumbItem item)
item
- The item to remove.public final boolean removeItem(int index)
index
- the index of the item to remove.protected java.lang.String getUserAgentStylesheet()
getUserAgentStylesheet
in class javafx.scene.control.Control