Class Breadcrumb
java.lang.Object
com.vaadin.flow.component.Component
org.vaadin.addons.antlerflow.breadcrumb.Breadcrumb
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasStyle, Serializable
@Tag("af-breadcrumb")
@JsModule("./antlerflow/breadcrumbs/breadcrumb.ts")
public class Breadcrumb
extends com.vaadin.flow.component.Component
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionBreadcrumb(String label) Breadcrumb(String label, com.vaadin.flow.component.Component prefixComponent) Breadcrumb(String label, com.vaadin.flow.component.Component prefixComponent, String href) Breadcrumb(String label, String href) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.shared.RegistrationaddClickListener(com.vaadin.flow.component.ComponentEventListener<Breadcrumb.ClickEvent> listener) static Breadcrumbstatic BreadcrumbgetHref()getLabel()com.vaadin.flow.component.ComponentgetType()booleanbooleanstatic Breadcrumbstatic BreadcrumbvoidsetCurrent(boolean current) voidsetDisabled(boolean disabled) voidvoidvoidsetPrefixComponent(com.vaadin.flow.component.Component component) voidsetType(Breadcrumb.Type type) withPrefix(com.vaadin.flow.component.Component component) Methods inherited from class com.vaadin.flow.component.Component
addListener, bindVisible, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTestId, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setId, setTestId, setVisible, whenAttachedMethods inherited from class 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.DetachNotifier
addDetachListenerMethods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, bindClassName, bindClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Constructor Details
-
Breadcrumb
-
Breadcrumb
-
Breadcrumb
-
Breadcrumb
-
-
Method Details
-
link
-
link
public static Breadcrumb link(String label, com.vaadin.flow.component.Component prefixComponent, String href) -
current
-
current
-
withPrefix
-
withLink
-
getType
-
setType
-
getLabel
-
setLabel
-
getHref
-
setHref
-
isDisabled
public boolean isDisabled() -
setDisabled
public void setDisabled(boolean disabled) -
isCurrent
public boolean isCurrent() -
setCurrent
public void setCurrent(boolean current) -
getPrefixComponent
public com.vaadin.flow.component.Component getPrefixComponent() -
setPrefixComponent
public void setPrefixComponent(com.vaadin.flow.component.Component component) -
addClickListener
public com.vaadin.flow.shared.Registration addClickListener(com.vaadin.flow.component.ComponentEventListener<Breadcrumb.ClickEvent> listener)
-