public enum MergeType extends Enum<MergeType>
| Enum Constant and Description |
|---|
HORIZONTAL
Indicates that the cell merges along the row.
|
NONE
Indicates that the cell does not merge.
|
RANGE
Indicates that the cell merges along the row and column, creating an area.
|
VERTICAL
Indicates that the cell merges along the column.
|
| Modifier and Type | Method and Description |
|---|---|
static MergeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MergeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MergeType HORIZONTAL
public static final MergeType NONE
public static final MergeType RANGE
public static final MergeType VERTICAL
public static MergeType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static MergeType[] values()
for (MergeType c : MergeType.values()) System.out.println(c);
Copyright © 2024. All rights reserved.