Package jxl.format
Class VerticalAlignment
java.lang.Object
jxl.format.VerticalAlignment
- Direct Known Subclasses:
VerticalAlignment
Enumeration type which describes the vertical alignment of data within a cell
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic VerticalAlignmentCells with this specified vertical alignment will have their data aligned at the bottomstatic VerticalAlignmentCells with this specified vertical alignment will have their data aligned centrallystatic VerticalAlignmentCells with this specified vertical alignment will have their data justifiedstatic VerticalAlignmentCells with this specified vertical alignment will have their data aligned at the top -
Method Summary
Modifier and TypeMethodDescriptionstatic VerticalAlignmentgetAlignment(int val) Gets the alignment from the valueGets the textual descriptionintgetValue()Accessor for the binary value
-
Field Details
-
TOP
Cells with this specified vertical alignment will have their data aligned at the top -
CENTRE
Cells with this specified vertical alignment will have their data aligned centrally -
BOTTOM
Cells with this specified vertical alignment will have their data aligned at the bottom -
JUSTIFY
Cells with this specified vertical alignment will have their data justified
-
-
Method Details
-
getValue
public int getValue()Accessor for the binary value- Returns:
- the internal binary value
-
getDescription
Gets the textual description -
getAlignment
Gets the alignment from the value- Parameters:
val-- Returns:
- the alignment with that value
-