Enum Class PagingControlBase.MessageLabelStrategy
java.lang.Object
java.lang.Enum<PagingControlBase.MessageLabelStrategy>
com.dlsc.gemsfx.paging.PagingControlBase.MessageLabelStrategy
- All Implemented Interfaces:
Serializable, Comparable<PagingControlBase.MessageLabelStrategy>, Constable
- Enclosing class:
PagingControlBase
public static enum PagingControlBase.MessageLabelStrategy
extends Enum<PagingControlBase.MessageLabelStrategy>
A list of possible strategies for showing / hiding the message label.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways show the message label, even when there are no items in the controlled view.Always hide the message label.Show the message label when needed, usually when the total item count is larger than zero. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIDE
Always hide the message label. -
SHOW_WHEN_NEEDED
Show the message label when needed, usually when the total item count is larger than zero. -
ALWAYS_SHOW
Always show the message label, even when there are no items in the controlled view.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-