Annotation Interface StudioComponent


@Target(METHOD) @Inherited public @interface StudioComponent
  • Element Details

    • name

      String name
      Default:
      ""
    • classFqn

      String classFqn
      Fully-qualified name of component class. This will be used as a type of injected field.
      Default:
      ""
    • category

      String category
      Category for Component Palette.
      Default:
      ""
    • icon

      String icon
      Icon for Component Palette and Component Inspector.
      Default:
      "io/jmix/flowui/kit/meta/icon/unknownComponent.svg"
    • xmlElement

      String xmlElement
      Xml tag name.
      Default:
      ""
    • xmlns

      String xmlns
      Default:
      ""
    • xmlnsAlias

      String xmlnsAlias
      Default:
      ""
    • availablePlaceRegExp

      String availablePlaceRegExp
      Describes the available place in the Component Hierarchy. By default, components can be located inside layout or inside a component inherited from HasComponents
      Default:
      "((^(mainView/appLayout)?((/drawerLayout)|(/navigationBar)|(/initialLayout)))$)|(^view/layout$)|((^(mainView/appLayout)?((/drawerLayout)|(/navigationBar)|(/initialLayout))|(^view/layout))?(/hasComponents)*$)"
    • properties

      StudioProperty[] properties
      Default:
      {}
    • propertiesBindings

      StudioPropertiesBinding[] propertiesBindings
      Default:
      {}
    • supplyHandlers

      StudioSupplyHandler[] supplyHandlers
      Default:
      {}
    • availableChildren

      StudioAvailableChildrenInfo availableChildren
      Default:
      @io.jmix.flowui.kit.meta.StudioAvailableChildrenInfo
    • documentationLink

      String documentationLink
      Link to the component documentation.

      It can be of the following types:

      1. The full link (starting with https).
      2. Or part of the jmix documentation link (part after /jmix/).
      Studio also can resolve %VERSION%} placeholder.
      Default:
      ""