public static enum StyleTemplateLink.Region extends Enum<StyleTemplateLink.Region>
Enum Constant and Description |
---|
ALL
All areas.
|
CUSTOM
A custom definition of targeted rows/columns.
|
EVEN
Even rows/columns only.
|
FIRST
The first row/column only.
|
LAST
The last row/column only.
|
ODD
Odd rows/columns only.
|
Modifier and Type | Method and Description |
---|---|
static StyleTemplateLink.Region |
forName(String name)
Provides a region for the given name.
|
String |
getName()
Provides the name of this link.
|
boolean |
matches(int value,
int current,
boolean last)
Checks, whether the given arguments are applicable with this region.
|
static StyleTemplateLink.Region |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleTemplateLink.Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleTemplateLink.Region ALL
public static final StyleTemplateLink.Region EVEN
public static final StyleTemplateLink.Region ODD
public static final StyleTemplateLink.Region FIRST
public static final StyleTemplateLink.Region LAST
public static final StyleTemplateLink.Region CUSTOM
public static StyleTemplateLink.Region[] values()
for (StyleTemplateLink.Region c : StyleTemplateLink.Region.values()) System.out.println(c);
public static StyleTemplateLink.Region 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 String getName()
public static StyleTemplateLink.Region forName(@NotNull String name)
IllegalArgumentException
- if there is no region with the requested name.public boolean matches(int value, int current, boolean last)
value
- The value.current
- The current location.last
- The last location.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210