Package jxl.format
Class Orientation
java.lang.Object
jxl.format.Orientation
Enumeration type which describes the orientation of data within a cell
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OrientationCells with this specified orientation will be horizontalstatic OrientationCells with this specified orientation will have their data presented with a rotation 45 degrees downwardsstatic OrientationCells with this specified orientation will have their data presented with a rotation of 90 degrees downwardsstatic OrientationCells with this specified orientation will have their data presented with a rotation 45 degrees upwardsstatic OrientationCells with this specified orientation will have their data presented with a rotation of 90 degrees upwardsstatic OrientationCells with this specified orientation will have their text stacked downwards, but not rotatedstatic OrientationCells with this specified orientation have their data presented vertically -
Method Summary
Modifier and TypeMethodDescriptionGets the textual descriptionstatic OrientationgetOrientation(int val) Gets the alignment from the valueintgetValue()Accessor for the binary value
-
Field Details
-
HORIZONTAL
Cells with this specified orientation will be horizontal -
VERTICAL
Cells with this specified orientation have their data presented vertically -
PLUS_90
Cells with this specified orientation will have their data presented with a rotation of 90 degrees upwards -
MINUS_90
Cells with this specified orientation will have their data presented with a rotation of 90 degrees downwards -
PLUS_45
Cells with this specified orientation will have their data presented with a rotation 45 degrees upwards -
MINUS_45
Cells with this specified orientation will have their data presented with a rotation 45 degrees downwards -
STACKED
Cells with this specified orientation will have their text stacked downwards, but not rotated
-
-
Method Details
-
getValue
public int getValue()Accessor for the binary value- Returns:
- the internal binary value
-
getDescription
Gets the textual description -
getOrientation
Gets the alignment from the value- Parameters:
val-- Returns:
- the alignment with that value
-