Package org.apache.poi.ss.util
Enum Class CellRangeAddressBase.CellPosition
java.lang.Object
java.lang.Enum<CellRangeAddressBase.CellPosition>
org.apache.poi.ss.util.CellRangeAddressBase.CellPosition
- All Implemented Interfaces:
Serializable
,Comparable<CellRangeAddressBase.CellPosition>
,Constable
- Enclosing class:
CellRangeAddressBase
public static enum CellRangeAddressBase.CellPosition
extends Enum<CellRangeAddressBase.CellPosition>
Indicates a cell or range is in the given relative position in a range.
More than one of these may apply at once.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionrange ending rows are equala cell or range is completely inside another range, without touching any edges (a cell in this position can't be in any others)range starting columns are equalrange ending columns are equalrange starting rows are equal -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CellRangeAddressBase.CellPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOP
range starting rows are equal -
BOTTOM
range ending rows are equal -
LEFT
range starting columns are equal -
RIGHT
range ending columns are equal -
INSIDE
a cell or range is completely inside another range, without touching any edges (a cell in this position can't be in any others)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-