Enum WDataTable.ExpandMode
- java.lang.Object
-
- java.lang.Enum<WDataTable.ExpandMode>
-
- com.github.bordertech.wcomponents.WDataTable.ExpandMode
-
- All Implemented Interfaces:
Serializable
,Comparable<WDataTable.ExpandMode>
- Enclosing class:
- WDataTable
public static enum WDataTable.ExpandMode extends Enum<WDataTable.ExpandMode>
This is used to control how row expansion should work.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT
Indicates that row expansion occurs on the client.DYNAMIC
Indicates that row expansion should make an AJAX call every time.LAZY
Indicates that row expansion occurs once, via AJAX.NONE
Indicates that row expansion is not supported.SERVER
Deprecated.use ExpandMode.DYNAMIC instead.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WDataTable.ExpandMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static WDataTable.ExpandMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final WDataTable.ExpandMode NONE
Indicates that row expansion is not supported.
-
CLIENT
public static final WDataTable.ExpandMode CLIENT
Indicates that row expansion occurs on the client.
-
SERVER
public static final WDataTable.ExpandMode SERVER
Deprecated.use ExpandMode.DYNAMIC instead.Indicates that row expansion occurs on the server (round-trip).
-
LAZY
public static final WDataTable.ExpandMode LAZY
Indicates that row expansion occurs once, via AJAX.
-
DYNAMIC
public static final WDataTable.ExpandMode DYNAMIC
Indicates that row expansion should make an AJAX call every time.
-
-
Method Detail
-
values
public static WDataTable.ExpandMode[] 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 (WDataTable.ExpandMode c : WDataTable.ExpandMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WDataTable.ExpandMode 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 nameNullPointerException
- if the argument is null
-
-