public enum SelectionExtension extends Enum<SelectionExtension>
Modifier and Type | Method and Description |
---|---|
int |
getDeltaX() |
int |
getDeltaY() |
int |
getNextX(int minIndex,
int maxIndex,
int originIndex) |
int |
getNextY(int minIndex,
int maxIndex,
int originIndex) |
static SelectionExtension |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectionExtension[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectionExtension LEFT
public static final SelectionExtension RIGHT
public static final SelectionExtension UP
public static final SelectionExtension DOWN
public static SelectionExtension[] values()
for (SelectionExtension c : SelectionExtension.values()) System.out.println(c);
public static SelectionExtension 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 int getNextX(int minIndex, int maxIndex, int originIndex)
public int getNextY(int minIndex, int maxIndex, int originIndex)
public int getDeltaX()
public int getDeltaY()
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.