Package ch.rabanti.picoxlsx4j
Enum Cell.AddressType
- java.lang.Object
-
- java.lang.Enum<Cell.AddressType>
-
- ch.rabanti.picoxlsx4j.Cell.AddressType
-
- All Implemented Interfaces:
Serializable
,Comparable<Cell.AddressType>
- Enclosing class:
- Cell
public static enum Cell.AddressType extends Enum<Cell.AddressType>
Enum for the referencing style of the address
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Default
Default behavior (e.g.FixedColumn
Column of the address is fixed (e.g.FixedRow
Row of the address is fixed (e.g.FixedRowAndColumn
Row and column of the address is fixed (e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Cell.AddressType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Cell.AddressType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Default
public static final Cell.AddressType Default
Default behavior (e.g. 'C3')
-
FixedRow
public static final Cell.AddressType FixedRow
Row of the address is fixed (e.g. 'C$3')
-
FixedColumn
public static final Cell.AddressType FixedColumn
Column of the address is fixed (e.g. '$C3')
-
FixedRowAndColumn
public static final Cell.AddressType FixedRowAndColumn
Row and column of the address is fixed (e.g. '$C$3')
-
-
Method Detail
-
values
public static Cell.AddressType[] 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 (Cell.AddressType c : Cell.AddressType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cell.AddressType 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
-
-