Class Breadcrumbs
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Breadcrumbs
- All Implemented Interfaces:
Serializable
Options for the breadcrumbs, the navigation at the top leading the way up
through the drilldown levels.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the separator configuration for breadcrumbs, which defines the visual separator between breadcrumb items.getStyle()Returns the CSS styles for the breadcrumb text.Returns the z-index for the breadcrumbs navigation, controlling its stacking order.isRtl()Returns whether the full path should be shown in breadcrumbs, including all drilldown levels.Returns whether to use HTML to render the breadcrumb labels.voidsetButtonSpacing(Number buttonSpacing) Sets the space between individual breadcrumb buttons in pixels.voidsetButtonTheme(ButtonTheme buttonTheme) Sets theme options for the breadcrumb buttons.voidsetFloating(Boolean floating) Sets whether the breadcrumbs should float above the chart.voidSets the format string for the breadcrumb text.voidsetFormatter(String formatter) Sets a custom JavaScript formatter function for breadcrumb text.voidsetPosition(BreadcrumbsPosition position) Sets positioning options for the breadcrumbs navigation.voidsetRelativeTo(ButtonRelativeTo relativeTo) Sets what box to align the breadcrumbs to.voidSets whether to use right-to-left text direction.voidsetSeparator(Separator separator) Sets the separator configuration for breadcrumbs, which defines the visual separator between breadcrumb items.voidsetShowFullPath(Boolean showFullPath) Sets whether the full path should be shown in breadcrumbs, including all drilldown levels.voidSets the CSS styles for the breadcrumb text.voidsetUseHTML(Boolean useHTML) Sets whether to use HTML to render the breadcrumb labels.voidSets the z-index for the breadcrumbs navigation, controlling its stacking order.
-
Constructor Details
-
Breadcrumbs
public Breadcrumbs()
-
-
Method Details
-
getButtonSpacing
- Returns:
- The space between individual breadcrumb buttons in pixels.
-
setButtonSpacing
Sets the space between individual breadcrumb buttons in pixels. -
getButtonTheme
- Returns:
- Theme options for the breadcrumb buttons.
-
setButtonTheme
Sets theme options for the breadcrumb buttons. -
isFloating
- Returns:
- Whether the breadcrumbs should float above the chart.
-
setFloating
Sets whether the breadcrumbs should float above the chart. -
getFormat
- Returns:
- Format string for the breadcrumb text.
-
setFormat
Sets the format string for the breadcrumb text. -
getFormatter
- Returns:
- Custom JavaScript formatter function for breadcrumb text.
-
setFormatter
Sets a custom JavaScript formatter function for breadcrumb text. -
getPosition
- Returns:
- Positioning options for the breadcrumbs navigation.
-
setPosition
Sets positioning options for the breadcrumbs navigation. -
getRelativeTo
- Returns:
- What box to align the breadcrumbs to.
-
setRelativeTo
Sets what box to align the breadcrumbs to. -
isRtl
- Returns:
- Whether to use right-to-left text direction.
-
setRtl
Sets whether to use right-to-left text direction. -
getSeparator
Returns the separator configuration for breadcrumbs, which defines the visual separator between breadcrumb items.- Returns:
- the separator configuration
-
setSeparator
Sets the separator configuration for breadcrumbs, which defines the visual separator between breadcrumb items.- Parameters:
separator- the separator configuration
-
isShowFullPath
Returns whether the full path should be shown in breadcrumbs, including all drilldown levels.- Returns:
- true if full path is shown, false otherwise
-
setShowFullPath
Sets whether the full path should be shown in breadcrumbs, including all drilldown levels.- Parameters:
showFullPath- true to show full path, false otherwise
-
getStyle
Returns the CSS styles for the breadcrumb text. This can be used to customize font, color, spacing, and other visual aspects of the breadcrumb labels.- Returns:
- the style configuration for breadcrumb text
-
setStyle
Sets the CSS styles for the breadcrumb text. This can be used to customize font, color, spacing, and other visual aspects of the breadcrumb labels.- Parameters:
style- the style configuration for breadcrumb text
-
isUseHTML
Returns whether to use HTML to render the breadcrumb labels.- Returns:
- true if HTML is used, false otherwise
-
setUseHTML
Sets whether to use HTML to render the breadcrumb labels.- Parameters:
useHTML- true to use HTML, false otherwise
-
getzIndex
Returns the z-index for the breadcrumbs navigation, controlling its stacking order.- Returns:
- the z-index value
-
setzIndex
Sets the z-index for the breadcrumbs navigation, controlling its stacking order.- Parameters:
zIndex- the z-index value
-