[]
Serializable, Comparable<SlicerSortOrder>, ConstableUse this enum with slicer-related APIs such as ISlicerCache.setSortItems(SlicerSortOrder) to control whether items are displayed in ascending or descending order.
worksheet.getRange("A1:A3").setValue(new Object[][] {{"Category"}, {"Fruit"}, {"Vegetables"}});
ITable table = worksheet.getTables().add(worksheet.getRange("A1:A3"), true);
ISlicerCache slicerCache = workbook.getSlicerCaches().add(table, "Category", "categoryCache");
slicerCache.setSortItems(SlicerSortOrder.Descending);
Enum.EnumDesc<E extends Enum<E>>static SlicerSortOrderstatic SlicerSortOrder[]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