public static enum UIUtil.YMoveKind extends java.lang.Enum<UIUtil.YMoveKind>
Enum Constant and Description |
---|
DOWN
The kind corresponding to arrow down
|
PAGE_DOWN
The kind corresponding to page down
|
PAGE_UP
The kind corresponding to page up
|
UP
The kind corresponding to arrow up
|
Modifier and Type | Method and Description |
---|---|
boolean |
isDown() |
static UIUtil.YMoveKind |
of(int keycode,
boolean vim) |
static UIUtil.YMoveKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UIUtil.YMoveKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UIUtil.YMoveKind UP
public static final UIUtil.YMoveKind DOWN
public static final UIUtil.YMoveKind PAGE_DOWN
public static final UIUtil.YMoveKind PAGE_UP
public static UIUtil.YMoveKind[] values()
for (UIUtil.YMoveKind c : UIUtil.YMoveKind.values()) System.out.println(c);
public static UIUtil.YMoveKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isDown()
true
if this
is downward.public static UIUtil.YMoveKind of(int keycode, boolean vim)
keycode
- vim
- Whether to recognize vim shortcuts (j/k).keycode
, or
null
if none.Copyright © Eben Howard 2012–2022. All rights reserved.