Enum Class Target

java.lang.Object
java.lang.Enum<Target>
io.jmix.ui.screen.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
    • PARENT_CONTROLLER

      public static final Target PARENT_CONTROLLER
      Parent UI controller
    • FRAME

      public static final Target FRAME
      Window or Fragment of UI controller
    • DATA_LOADER

      public static final Target DATA_LOADER
    • DATA_CONTAINER

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

      public static final Target DATA_CONTEXT
      DataContext provided by ScreenData.
  • 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