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 ClassesModifier and TypeClassDescriptionstatic classJmixBreadcrumb.ClickEvent<C extends JmixBreadcrumb>Represents a click event triggered on aJmixBreadcrumbcomponent.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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetText()Returns the text of the breadcrumb component.voidsetClickHandler(com.vaadin.flow.component.ComponentEventListener<JmixBreadcrumb.ClickEvent<JmixBreadcrumb>> listener) Sets a click handler for the breadcrumb component.voidSets 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.BlurNotifier
addBlurListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndexMethods inherited from interface com.vaadin.flow.component.FocusNotifier
addFocusListenerMethods inherited from interface com.vaadin.flow.component.HasAriaLabel
getAriaLabel, getAriaLabelledBy, setAriaLabel, setAriaLabelledByMethods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.vaadin.flow.component.HasEnabled
isEnabled, setEnabledMethods 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
Returns the text of the breadcrumb component.- Returns:
- the text of the breadcrumb component
-
setText
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
-