public static enum Axis.Standard extends Enum<Axis.Standard> implements Axis
Axis.Factory, Axis.Standard
Enum Constant and Description |
---|
CHAPTERS
CHAPTERS axis, also known as AXIS(3).
|
COLUMNS
COLUMNS axis, also known as X axis and AXIS(0).
|
FILTER
Filter axis, also known as the slicer axis, and represented by the
WHERE clause of an MDX query.
|
PAGES
PAGES axis, also known as AXIS(2).
|
ROWS
ROWS axis, also known as Y axis and AXIS(1).
|
SECTIONS
SECTIONS axis, also known as AXIS(4).
|
Modifier and Type | Method and Description |
---|---|
int |
axisOrdinal()
Returns the ordinal which is to be used for retrieving this axis from
the
CellSet.getAxes() , or retrieving its
coordinate from Cell.getCoordinateList() . |
String |
getCaption(Locale locale)
Returns localized name for this Axis.
|
boolean |
isFilter()
Returns whether this is the filter (slicer) axis.
|
static Axis.Standard |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Axis.Standard[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Axis.Standard FILTER
public static final Axis.Standard COLUMNS
public static final Axis.Standard ROWS
public static final Axis.Standard PAGES
public static final Axis.Standard CHAPTERS
public static final Axis.Standard SECTIONS
public static Axis.Standard[] values()
for (Axis.Standard c : Axis.Standard.values()) System.out.println(c);
public static Axis.Standard 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 axisOrdinal()
Axis
CellSet.getAxes()
, or retrieving its
coordinate from Cell.getCoordinateList()
.
For example:
axisOrdinal
in interface Axis
public boolean isFilter()
Axis
public String getCaption(Locale locale)
Axis
Examples: "FILTER", "ROWS", "COLUMNS", "AXIS(10)".
getCaption
in interface Axis
locale
- Locale for which to give the name