Enum WTabSet.TabMode

    • Enum Constant Detail

      • SERVER

        public static final WTabSet.TabMode SERVER
        Deprecated.
        Use TabMode DYNAMIC instead as a like-for-like replacement or any other mode if it is more appropriate to the individual use case.
        Synonym for DYNAMIC.
      • LAZY

        public static final WTabSet.TabMode LAZY
        Indicates that an ajax request should be made the first time the tab is selected.
      • CLIENT

        public static final WTabSet.TabMode CLIENT
        Indicates that the tab content is always sent to the client.
      • DYNAMIC

        public static final WTabSet.TabMode DYNAMIC
        Indicates that an ajax request should be made whenever the tab is selected.
      • EAGER

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

      • values

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

        public static WTabSet.TabMode 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