[]
Serializable, Comparable<InsertShiftDirection>, ConstableUsed with the IRange.insert(InsertShiftDirection) method to control whether existing cells are shifted down or to the right to make room for the newly inserted cells.
worksheet.getRange("A1:C3").setValue(new Object[][] {
{1, 2, 3},
{4, 5, 6},
{7, 8, 9}
});
worksheet.getRange("B2").insert(InsertShiftDirection.Down);
worksheet.getRange("C2").insert(InsertShiftDirection.Right);
Enum.EnumDesc<E extends Enum<E>>static InsertShiftDirectionstatic InsertShiftDirection[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null