Enum OpenRuntimeInterfaceBehavior

    • Enum Constant Detail

      • REPLACE

        public static final OpenRuntimeInterfaceBehavior REPLACE
        Indicates that the runtime interface will replace the opener interface and be shown in the same page.
        Since:
        7.0.0
      • POPUP

        public static final OpenRuntimeInterfaceBehavior POPUP
        Indicates that the runtime interface will be opened in a popup window.
        Since:
        7.0.0
      • LIGHTBOX

        public static final OpenRuntimeInterfaceBehavior LIGHTBOX
        Indicates that the runtime interface will be opened in a lightbox.
        Since:
        7.0.0
    • Method Detail

      • values

        public static OpenRuntimeInterfaceBehavior[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OpenRuntimeInterfaceBehavior c : OpenRuntimeInterfaceBehavior.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OpenRuntimeInterfaceBehavior valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null
      • getDefaultBehavior

        public static OpenRuntimeInterfaceBehavior getDefaultBehavior​(boolean keepParentActive)
        Returns the default behavior. If the parameter keepParentActive is true returns LIGHTBOX. Returns REPLACE otherwise.
        Parameters:
        keepParentActive - indicates whether the parent should be kept active.
        Returns:
        the default behavior.
        Since:
        7.0.0