Annotation Type BindIcon

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      IconType iconType
      Defines how the icon should be retrieved
      com.vaadin.flow.component.icon.VaadinIcon value
      The displayed icon for IconType.STATIC.
    • Element Detail

      • value

        com.vaadin.flow.component.icon.VaadinIcon value
        The displayed icon for IconType.STATIC.
        Implementation Note:
        To support the convenient way to just use @BindIcon and directly get a dynamic icon binding without specifying the iconType() explicitly, we need a default value. The icon VaadinIcon.NATIVE_BUTTON seems to be a quite useless icon. However if it is necessary to use exactly this icon it is necessary to specify iconType() as IconType.STATIC explicitly.
        Default:
        com.vaadin.flow.component.icon.VaadinIcon.NATIVE_BUTTON
      • iconType

        IconType iconType
        Defines how the icon should be retrieved
        Default:
        org.linkki.core.defaults.ui.aspects.types.IconType.AUTO