Enum Class Target

java.lang.Object
java.lang.Enum<Target>
io.jmix.flowui.view.Target
All Implemented Interfaces:
Serializable, Comparable<Target>, Constable

public enum Target extends Enum<Target>
Subscribe and Install target type.
  • Enum Constant Details

    • COMPONENT

      public static final Target COMPONENT
      UI component if id of component specified in the corresponding annotation.

      Default option.

    • CONTROLLER

      public static final Target CONTROLLER
      UI controller
    • HOST_CONTROLLER

      public static final Target HOST_CONTROLLER
      Host UI controller
    • DATA_LOADER

      public static final Target DATA_LOADER
      DataLoader defined in ViewData.
    • DATA_CONTAINER

      public static final Target DATA_CONTAINER
      Data container defined in ViewData.
    • DATA_CONTEXT

      public static final Target DATA_CONTEXT
      DataContext provided by ViewData.
  • Method Details

    • values

      public static Target[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Target valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null