Package ch.rabanti.picoxlsx4j.style
Enum CellXf.HorizontalAlignValue
- java.lang.Object
- 
- java.lang.Enum<CellXf.HorizontalAlignValue>
- 
- ch.rabanti.picoxlsx4j.style.CellXf.HorizontalAlignValue
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<CellXf.HorizontalAlignValue>
 - Enclosing class:
- CellXf
 
 public static enum CellXf.HorizontalAlignValue extends Enum<CellXf.HorizontalAlignValue> Enum for the horizontal alignment of a cell
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description centerContent will be aligned in the centercenterContinuousCenter continuous alignmentdistributedDistributed alignmentfillContent will fill up the cellgeneralGeneral alignmentjustifyjustify alignmentleftContent will be aligned leftnoneNo alignment.rightContent will be aligned right
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static CellXf.HorizontalAlignValuevalueOf(String name)Returns the enum constant of this type with the specified name.static CellXf.HorizontalAlignValue[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
leftpublic static final CellXf.HorizontalAlignValue left Content will be aligned left
 - 
centerpublic static final CellXf.HorizontalAlignValue center Content will be aligned in the center
 - 
rightpublic static final CellXf.HorizontalAlignValue right Content will be aligned right
 - 
fillpublic static final CellXf.HorizontalAlignValue fill Content will fill up the cell
 - 
justifypublic static final CellXf.HorizontalAlignValue justify justify alignment
 - 
generalpublic static final CellXf.HorizontalAlignValue general General alignment
 - 
centerContinuouspublic static final CellXf.HorizontalAlignValue centerContinuous Center continuous alignment
 - 
distributedpublic static final CellXf.HorizontalAlignValue distributed Distributed alignment
 - 
nonepublic static final CellXf.HorizontalAlignValue none No alignment. The alignment will not be used in a style
 
- 
 - 
Method Detail- 
valuespublic static CellXf.HorizontalAlignValue[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CellXf.HorizontalAlignValue c : CellXf.HorizontalAlignValue.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CellXf.HorizontalAlignValue valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getValuepublic int getValue() 
 
- 
 
-