jxl.format
Class Orientation
public final class Orientation
extends java.lang.Object
Enumeration type which describes the orientation of data within a cell
static Orientation | HORIZONTAL - Cells with this specified orientation will be horizontal
|
static Orientation | MINUS_45 - Cells with this specified orientation will have their data
presented with a rotation 45 degrees downwards
|
static Orientation | MINUS_90 - Cells with this specified orientation will have their data
presented with a rotation of 90 degrees downwards
|
static Orientation | PLUS_45 - Cells with this specified orientation will have their data
presented with a rotation 45 degrees upwards
|
static Orientation | PLUS_90 - Cells with this specified orientation will have their data
presented with a rotation of 90 degrees upwards
|
static Orientation | STACKED - Cells with this specified orientation will have their text stacked
downwards, but not rotated
|
static Orientation | VERTICAL - Cells with this specified orientation have their data
presented vertically
|
HORIZONTAL
public static Orientation HORIZONTAL
Cells with this specified orientation will be horizontal
MINUS_45
public static Orientation MINUS_45
Cells with this specified orientation will have their data
presented with a rotation 45 degrees downwards
MINUS_90
public static Orientation MINUS_90
Cells with this specified orientation will have their data
presented with a rotation of 90 degrees downwards
PLUS_45
public static Orientation PLUS_45
Cells with this specified orientation will have their data
presented with a rotation 45 degrees upwards
PLUS_90
public static Orientation PLUS_90
Cells with this specified orientation will have their data
presented with a rotation of 90 degrees upwards
STACKED
public static Orientation STACKED
Cells with this specified orientation will have their text stacked
downwards, but not rotated
VERTICAL
public static Orientation VERTICAL
Cells with this specified orientation have their data
presented vertically
getDescription
public String getDescription()
Gets the textual description
getOrientation
public static Orientation getOrientation(int val)
Gets the alignment from the value
- the alignment with that value
getValue
public int getValue()
Accessor for the binary value
- the internal binary value