Package ch.rabanti.picoxlsx4j.style
Enum CellXf.TextBreakValue
- java.lang.Object
-
- java.lang.Enum<CellXf.TextBreakValue>
-
- ch.rabanti.picoxlsx4j.style.CellXf.TextBreakValue
-
- All Implemented Interfaces:
Serializable
,Comparable<CellXf.TextBreakValue>
- Enclosing class:
- CellXf
public static enum CellXf.TextBreakValue extends Enum<CellXf.TextBreakValue>
Enum for text break options
-
-
Enum Constant Summary
Enum Constants Enum Constant Description none
Text will overflow in cellshrinkToFit
Text will be resized to fit the cellwrapText
Word wrap is active
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static CellXf.TextBreakValue
valueOf(String name)
Returns the enum constant of this type with the specified name.static CellXf.TextBreakValue[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
wrapText
public static final CellXf.TextBreakValue wrapText
Word wrap is active
-
shrinkToFit
public static final CellXf.TextBreakValue shrinkToFit
Text will be resized to fit the cell
-
none
public static final CellXf.TextBreakValue none
Text will overflow in cell
-
-
Method Detail
-
values
public static CellXf.TextBreakValue[] 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.TextBreakValue c : CellXf.TextBreakValue.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CellXf.TextBreakValue 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 nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-