public enum ScrollBehavior extends Enum<ScrollBehavior>
AutocompleteTextFieldExtension
should handle
scrolling when the suggestion box is visible.Enum Constant and Description |
---|
CLOSE
Scrolling the page closes the suggestion box.
|
NONE
Scrolling does not cause any action.
|
REFRESH
Scrolling the page updates the position of the suggestion box.
|
Modifier and Type | Method and Description |
---|---|
static ScrollBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScrollBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScrollBehavior NONE
public static final ScrollBehavior CLOSE
public static final ScrollBehavior REFRESH
public static ScrollBehavior[] values()
for (ScrollBehavior c : ScrollBehavior.values()) System.out.println(c);
public static ScrollBehavior 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 © 2017 Max Schuster. All Rights Reserved.