Enum OpenRuntimeInterfaceBehavior

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<OpenRuntimeInterfaceBehavior>

    public enum OpenRuntimeInterfaceBehavior
    extends java.lang.Enum<OpenRuntimeInterfaceBehavior>
    Indicates the behavior to be applied when a runtime interface is to be opened.
    Since:
    7.0.0
    Version:
    $Revision: 15055 $ $Date: 2012-11-29 18:48:37 -0200 (Thu, 29 Nov 2012) $
    • 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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.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