Enum WSubMenu.MenuMode

    • Enum Constant Detail

      • SERVER

        public static final WSubMenu.MenuMode SERVER
        Deprecated.
        Mapped to MenuMode.DYMANIC as per https://github.com/BorderTech/wcomponents/issues/687
        Indicates that a round-trip should be made whenever the menu is opened.
      • LAZY

        public static final WSubMenu.MenuMode LAZY
        Indicates that an ajax request should be made the first time the menu is opened.
      • CLIENT

        public static final WSubMenu.MenuMode CLIENT
        Indicates that the sub-menu content is always sent to the client.
      • DYNAMIC

        public static final WSubMenu.MenuMode DYNAMIC
        Indicates that an ajax request should be made whenever the menu is opened.
      • EAGER

        public static final WSubMenu.MenuMode EAGER
        Indicates that an ajax request should be made immediately after the page is loaded.
    • Method Detail

      • values

        public static WSubMenu.MenuMode[] 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 (WSubMenu.MenuMode c : WSubMenu.MenuMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static WSubMenu.MenuMode 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