Class 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 additional VaadinIcon
    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>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.FocusNotifier

        com.vaadin.flow.component.FocusNotifier.FocusEvent<C extends com.vaadin.flow.component.Component>
      • Nested classes/interfaces inherited from interface com.vaadin.flow.component.HasText

        com.vaadin.flow.component.HasText.WhiteSpace
    • 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.Anchor getContent()  
      String getHref()  
      Optional<String> getTarget()  
      com.vaadin.flow.component.html.AnchorTargetValue getTargetValue()  
      void onEnabledStateChanged​(boolean enabled)  
      void removeHref()  
      void setHref​(com.vaadin.flow.server.AbstractStreamResource href)  
      void setHref​(String href)  
      void setTarget​(com.vaadin.flow.component.html.AnchorTargetValue target)  
      void setTarget​(String target)  
      • 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 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.HasElement

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

        isEnabled, setEnabled
      • Methods inherited from interface com.vaadin.flow.component.textfield.HasPrefixAndSuffix

        getPrefixComponent, getSuffixComponent, setPrefixComponent, setSuffixComponent
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
      • Methods inherited from interface com.vaadin.flow.component.HasText

        getWhiteSpace, setWhiteSpace
    • Constructor Detail

      • LinkkiAnchor

        public LinkkiAnchor()
    • Method Detail

      • getContent

        protected com.vaadin.flow.component.html.Anchor getContent()
        Overrides:
        getContent in class LinkkiText
      • 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:
        onEnabledStateChanged in class com.vaadin.flow.component.Component
        See Also:
        Anchor.onEnabledStateChanged(boolean)
      • getTarget

        public Optional<String> getTarget()
        See Also:
        Anchor.getTarget()
      • 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()