public static enum HasKeyboardPagingPolicy.KeyboardPagingPolicy extends Enum<HasKeyboardPagingPolicy.KeyboardPagingPolicy>
Enum Constant and Description |
---|
CHANGE_PAGE
Users can navigate between pages.
|
CURRENT_PAGE
Users cannot navigate past the current page.
|
INCREASE_RANGE
If the user navigates to the beginning or end of the current range, the
range is increased.
|
Modifier and Type | Method and Description |
---|---|
static HasKeyboardPagingPolicy.KeyboardPagingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HasKeyboardPagingPolicy.KeyboardPagingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HasKeyboardPagingPolicy.KeyboardPagingPolicy CURRENT_PAGE
public static final HasKeyboardPagingPolicy.KeyboardPagingPolicy CHANGE_PAGE
public static final HasKeyboardPagingPolicy.KeyboardPagingPolicy INCREASE_RANGE
public static HasKeyboardPagingPolicy.KeyboardPagingPolicy[] values()
for (HasKeyboardPagingPolicy.KeyboardPagingPolicy c : HasKeyboardPagingPolicy.KeyboardPagingPolicy.values()) System.out.println(c);
public static HasKeyboardPagingPolicy.KeyboardPagingPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.