Package jxl.format
Class VerticalAlignment
- java.lang.Object
-
- jxl.format.VerticalAlignment
-
- Direct Known Subclasses:
VerticalAlignment
public class VerticalAlignment extends java.lang.ObjectEnumeration type which describes the vertical alignment of data within a cell
-
-
Field Summary
Fields Modifier and Type Field Description static VerticalAlignmentBOTTOMCells with this specified vertical alignment will have their data aligned at the bottomstatic VerticalAlignmentCENTRECells with this specified vertical alignment will have their data aligned centrallystatic VerticalAlignmentJUSTIFYCells with this specified vertical alignment will have their data justifiedstatic VerticalAlignmentTOPCells with this specified vertical alignment will have their data aligned at the top
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerticalAlignmentgetAlignment(int val)Gets the alignment from the valuejava.lang.StringgetDescription()Gets the textual descriptionintgetValue()Accessor for the binary value
-
-
-
Field Detail
-
TOP
public static VerticalAlignment TOP
Cells with this specified vertical alignment will have their data aligned at the top
-
CENTRE
public static VerticalAlignment CENTRE
Cells with this specified vertical alignment will have their data aligned centrally
-
BOTTOM
public static VerticalAlignment BOTTOM
Cells with this specified vertical alignment will have their data aligned at the bottom
-
JUSTIFY
public static VerticalAlignment JUSTIFY
Cells with this specified vertical alignment will have their data justified
-
-
Method Detail
-
getValue
public int getValue()
Accessor for the binary value- Returns:
- the internal binary value
-
getDescription
public java.lang.String getDescription()
Gets the textual description
-
getAlignment
public static VerticalAlignment getAlignment(int val)
Gets the alignment from the value- Parameters:
val-- Returns:
- the alignment with that value
-
-