Annotation Interface MenuItem


@Retention(RUNTIME) @Target(TYPE) public @interface MenuItem
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    com.vaadin.flow.component.icon.VaadinIcon
     
    int
     
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
  • Field Details

  • Element Details

    • enabled

      boolean enabled
      Returns:
      true if the menu item should be enabled in the navigation. Note that making the view disabled with this option, does NOT prevent navigation directly to the view using deep linking url.
      Default:
      true
    • title

      String title
      Default:
      ""
    • order

      int order
      Default:
      1000
    • icon

      com.vaadin.flow.component.icon.VaadinIcon icon
      Default:
      FILE