public enum PositionType extends Enum<PositionType>
Constants of this enum specifies the relative position of an element from an anchor element.
The values are used in Position.type() annotation property.
About ibello search engine see hu.ibello.search.
Position| Enum Constant and Description |
|---|
ABOVE
The desired element is above the anchor element.
|
BELOW
The desired element is below the anchor element.
|
COLUMN
The desired element is in the same column as the anchor element.
|
LEFT_FROM
The desired element is left from the anchor element.
|
RIGHT_FROM
The desired element is right from the anchor element.
|
ROW
The desired element is in the same row as the anchor element.
|
| Modifier and Type | Method and Description |
|---|---|
static PositionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PositionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PositionType ROW
public static final PositionType COLUMN
public static final PositionType LEFT_FROM
public static final PositionType RIGHT_FROM
public static final PositionType ABOVE
public static final PositionType BELOW
public static PositionType[] values()
for (PositionType c : PositionType.values()) System.out.println(c);
public static PositionType 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 nullCreated by Kornél Simon, 2022