public static enum DefaultEditorEventHandler.CursorMoveDelta extends Enum<DefaultEditorEventHandler.CursorMoveDelta>
| Enum Constant and Description |
|---|
DOWN |
LEFT |
RIGHT |
UP
Move focus one step to the direction indicated by name.
|
| Modifier and Type | Field and Description |
|---|---|
int |
colDelta
Horizontal change.
|
int |
rowDelta
Vertical change.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isChanged()
Returns whether the cursor move has either horizontal or vertical
changes.
|
static DefaultEditorEventHandler.CursorMoveDelta |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultEditorEventHandler.CursorMoveDelta[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultEditorEventHandler.CursorMoveDelta UP
public static final DefaultEditorEventHandler.CursorMoveDelta RIGHT
public static final DefaultEditorEventHandler.CursorMoveDelta DOWN
public static final DefaultEditorEventHandler.CursorMoveDelta LEFT
public final int rowDelta
public final int colDelta
public static DefaultEditorEventHandler.CursorMoveDelta[] values()
for (DefaultEditorEventHandler.CursorMoveDelta c : DefaultEditorEventHandler.CursorMoveDelta.values()) System.out.println(c);
public static DefaultEditorEventHandler.CursorMoveDelta 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 nullpublic boolean isChanged()
true if there are changes, false otherwiseCopyright © 2023 Vaadin Ltd. All rights reserved.