Class JmixBreadcrumb

java.lang.Object
com.vaadin.flow.component.Component
io.jmix.tabbedmode.component.breadcrumbs.JmixBreadcrumb
All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.BlurNotifier<JmixBreadcrumb>, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.Focusable<JmixBreadcrumb>, com.vaadin.flow.component.FocusNotifier<JmixBreadcrumb>, com.vaadin.flow.component.HasAriaLabel, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.HasStyle, Serializable

@Tag("jmix-breadcrumb") @JsModule("./src/breadcrumbs/jmix-breadcrumb.js") public class JmixBreadcrumb extends com.vaadin.flow.component.Component implements com.vaadin.flow.component.HasAriaLabel, com.vaadin.flow.component.HasEnabled, com.vaadin.flow.component.Focusable<JmixBreadcrumb>
Server-side component for the <jmix-breadcrumb> element.

To use it, add it to the JmixBreadcrumbs.

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Represents a click event triggered on a JmixBreadcrumb component.

    Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier

    com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>

    Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier

    com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.vaadin.flow.shared.Registration
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the text of the breadcrumb component.
    void
    setClickHandler(com.vaadin.flow.component.ComponentEventListener<JmixBreadcrumb.ClickEvent<JmixBreadcrumb>> listener)
    Sets a click handler for the breadcrumb component.
    void
    Sets the text of the breadcrumb component.

    Methods inherited from class com.vaadin.flow.component.Component

    addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.flow.component.AttachNotifier

    addAttachListener

    Methods inherited from interface com.vaadin.flow.component.BlurNotifier

    addBlurListener

    Methods inherited from interface com.vaadin.flow.component.DetachNotifier

    addDetachListener

    Methods inherited from interface com.vaadin.flow.component.Focusable

    addFocusShortcut, blur, focus, getTabIndex, setTabIndex

    Methods inherited from interface com.vaadin.flow.component.FocusNotifier

    addFocusListener

    Methods inherited from interface com.vaadin.flow.component.HasAriaLabel

    getAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledBy

    Methods inherited from interface com.vaadin.flow.component.HasElement

    getElement

    Methods inherited from interface com.vaadin.flow.component.HasEnabled

    isEnabled, setEnabled

    Methods inherited from interface com.vaadin.flow.component.HasStyle

    addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
  • Field Details

    • clickRegistration

      protected com.vaadin.flow.shared.Registration clickRegistration
  • Constructor Details

    • JmixBreadcrumb

      public JmixBreadcrumb()
  • Method Details

    • getText

      public String getText()
      Returns the text of the breadcrumb component.
      Returns:
      the text of the breadcrumb component
    • setText

      public void setText(String text)
      Sets the text of the breadcrumb component.
      Parameters:
      text - the text of the breadcrumb component
    • setClickHandler

      public void setClickHandler(com.vaadin.flow.component.ComponentEventListener<JmixBreadcrumb.ClickEvent<JmixBreadcrumb>> listener)
      Sets a click handler for the breadcrumb component.
      Parameters:
      listener - the listener to handle click events on the breadcrumb