Package org.openl.excel.parser
Enum MergedCell
- java.lang.Object
-
- java.lang.Enum<MergedCell>
-
- org.openl.excel.parser.MergedCell
-
- All Implemented Interfaces:
Serializable,Comparable<MergedCell>,ExtendedValue
public enum MergedCell extends Enum<MergedCell> implements ExtendedValue
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MERGE_WITH_LEFTMERGE_WITH_UP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetValue()static MergedCellvalueOf(String name)Returns the enum constant of this type with the specified name.static MergedCell[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGE_WITH_LEFT
public static final MergedCell MERGE_WITH_LEFT
-
MERGE_WITH_UP
public static final MergedCell MERGE_WITH_UP
-
-
Method Detail
-
values
public static MergedCell[] 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 (MergedCell c : MergedCell.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MergedCell 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 Object getValue()
- Specified by:
getValuein interfaceExtendedValue
-
-