public static enum AxisOrdinal.StandardAxisOrdinal extends Enum<AxisOrdinal.StandardAxisOrdinal> implements AxisOrdinal
AxisOrdinal.StandardAxisOrdinal
Enum Constant and Description |
---|
CHAPTERS
Chapters axis, logical ordinal = 3.
|
COLUMNS
Columns axis (also known as X axis), logical ordinal = 0.
|
NONE
No axis.
|
PAGES
Pages axis, logical ordinal = 2.
|
ROWS
Rows axis (also known as Y axis), logical ordinal = 1.
|
SECTIONS
Sections axis, logical ordinal = 4.
|
SLICER
Slicer axis.
|
Modifier and Type | Method and Description |
---|---|
static AxisOrdinal |
forLogicalOrdinal(int ordinal)
Returns an axis with a given number.
|
boolean |
isFilter()
Returns whether this is the filter (slicer) axis.
|
int |
logicalOrdinal()
Returns the ordinal of this axis.
|
static AxisOrdinal.StandardAxisOrdinal |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisOrdinal.StandardAxisOrdinal[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final AxisOrdinal.StandardAxisOrdinal NONE
public static final AxisOrdinal.StandardAxisOrdinal SLICER
public static final AxisOrdinal.StandardAxisOrdinal COLUMNS
public static final AxisOrdinal.StandardAxisOrdinal ROWS
public static final AxisOrdinal.StandardAxisOrdinal PAGES
public static final AxisOrdinal.StandardAxisOrdinal CHAPTERS
public static final AxisOrdinal.StandardAxisOrdinal SECTIONS
public static AxisOrdinal.StandardAxisOrdinal[] values()
for (AxisOrdinal.StandardAxisOrdinal c : AxisOrdinal.StandardAxisOrdinal.values()) System.out.println(c);
public static AxisOrdinal.StandardAxisOrdinal 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 static AxisOrdinal forLogicalOrdinal(int ordinal)
If ordinal is greater than 4, returns a non-standard axis called "AXIS(n)". Never returns null.
ordinal
- Ordinalpublic int logicalOrdinal()
AxisOrdinal
logicalOrdinal
in interface AxisOrdinal
public boolean isFilter()
AxisOrdinal
isFilter
in interface AxisOrdinal
Copyright © 2020 Hitachi Vantara. All rights reserved.