jxl.format
Class Orientation

java.lang.Object
  extended byjxl.format.Orientation

public final class Orientation
extends java.lang.Object

Enumeration type which describes the orientation of data within a cell


Field Summary
static Orientation HORIZONTAL
          Cells with this specified orientation will be horizontal
static Orientation MINUS_90
          Cells with this specified orientation will have their data presented with a rotation of 90 degrees downwardswards
static Orientation PLUS_90
          Cells with this specified orientation will have their data presented with a rotation of 90 degrees upwards
static Orientation VERTICAL
          Cells with this specified orientation have their data presented vertically
 
Method Summary
 java.lang.String getDescription()
          Gets the textual description
static Orientation getOrientation(int val)
          Gets the alignment from the value
 int getValue()
          Accessor for the binary value
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HORIZONTAL

public static Orientation HORIZONTAL
Cells with this specified orientation will be horizontal


MINUS_90

public static Orientation MINUS_90
Cells with this specified orientation will have their data presented with a rotation of 90 degrees downwardswards


PLUS_90

public static Orientation PLUS_90
Cells with this specified orientation will have their data presented with a rotation of 90 degrees upwards


VERTICAL

public static Orientation VERTICAL
Cells with this specified orientation have their data presented vertically

Method Detail

getDescription

public java.lang.String getDescription()
Gets the textual description


getOrientation

public static Orientation getOrientation(int val)
Gets the alignment from the value

Parameters:
val -
Returns:
the alignment with that value

getValue

public int getValue()
Accessor for the binary value

Returns:
the internal binary value