Class LinkkiAnchor
- java.lang.Object
-
- com.vaadin.flow.component.Component
-
- org.linkki.core.vaadin.component.base.LinkkiText
-
- org.linkki.core.vaadin.component.base.LinkkiAnchor
-
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier,com.vaadin.flow.component.BlurNotifier<LinkkiAnchor>,com.vaadin.flow.component.DetachNotifier,com.vaadin.flow.component.Focusable<LinkkiAnchor>,com.vaadin.flow.component.FocusNotifier<LinkkiAnchor>,com.vaadin.flow.component.HasElement,com.vaadin.flow.component.HasEnabled,com.vaadin.flow.component.HasStyle,com.vaadin.flow.component.HasText,com.vaadin.flow.component.textfield.HasPrefixAndSuffix,Serializable,HasIcon
public class LinkkiAnchor extends LinkkiText implements com.vaadin.flow.component.Focusable<LinkkiAnchor>
An anchor component that can have an additionalVaadinIcon- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.flow.component.BlurNotifier
com.vaadin.flow.component.BlurNotifier.BlurEvent<C extends com.vaadin.flow.component.Component>
-
-
Field Summary
-
Fields inherited from class org.linkki.core.vaadin.component.base.LinkkiText
CLASS_NAME, ICON_CLASS_NAME
-
-
Constructor Summary
Constructors Constructor Description LinkkiAnchor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.vaadin.flow.component.html.AnchorgetContent()StringgetHref()Optional<String>getTarget()com.vaadin.flow.component.html.AnchorTargetValuegetTargetValue()voidonEnabledStateChanged(boolean enabled)voidremoveHref()voidsetHref(com.vaadin.flow.server.AbstractStreamResource href)voidsetHref(String href)voidsetTarget(com.vaadin.flow.component.html.AnchorTargetValue target)voidsetTarget(String target)-
Methods inherited from class org.linkki.core.vaadin.component.base.LinkkiText
getIcon, getIconPosition, getText, setIcon, setIconOnComponent, setIconOnComponent, setIconPosition, setText, setText
-
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, 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.Focusable
addFocusShortcut, blur, focus, getTabIndex, setTabIndex
-
Methods inherited from interface com.vaadin.flow.component.textfield.HasPrefixAndSuffix
getPrefixComponent, getSuffixComponent, setPrefixComponent, setSuffixComponent
-
-
-
-
Method Detail
-
getContent
protected com.vaadin.flow.component.html.Anchor getContent()
- Overrides:
getContentin classLinkkiText
-
removeHref
public void removeHref()
- See Also:
Anchor.removeHref()
-
getHref
public String getHref()
- See Also:
Anchor.getHref()
-
setHref
public void setHref(String href)
- See Also:
Anchor.setHref(String)
-
setHref
public void setHref(com.vaadin.flow.server.AbstractStreamResource href)
- See Also:
Anchor.setHref(AbstractStreamResource)
-
onEnabledStateChanged
public void onEnabledStateChanged(boolean enabled)
- Overrides:
onEnabledStateChangedin classcom.vaadin.flow.component.Component- See Also:
Anchor.onEnabledStateChanged(boolean)
-
setTarget
public void setTarget(String target)
- See Also:
Anchor.setTarget(String)
-
setTarget
public void setTarget(com.vaadin.flow.component.html.AnchorTargetValue target)
- See Also:
Anchor.setTarget(AnchorTargetValue)
-
getTargetValue
public com.vaadin.flow.component.html.AnchorTargetValue getTargetValue()
- See Also:
Anchor.getTargetValue()
-
-