Enum WTable.ExpandMode
- java.lang.Object
-
- java.lang.Enum<WTable.ExpandMode>
-
- com.github.bordertech.wcomponents.WTable.ExpandMode
-
- All Implemented Interfaces:
Serializable
,Comparable<WTable.ExpandMode>
- Enclosing class:
- WTable
public static enum WTable.ExpandMode extends Enum<WTable.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WTable.ExpandMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static WTable.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 WTable.ExpandMode NONE
Indicates that row expansion is not supported.
-
CLIENT
public static final WTable.ExpandMode CLIENT
Indicates that row expansion occurs on the client.
-
LAZY
public static final WTable.ExpandMode LAZY
Indicates that row expansion occurs once, via AJAX.
-
DYNAMIC
public static final WTable.ExpandMode DYNAMIC
Indicates that row expansion should make an AJAX call every time.
-
-
Method Detail
-
values
public static WTable.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 (WTable.ExpandMode c : WTable.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 WTable.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
-
-