[]
Serializable, Comparable<IconPosition>, ConstableUse this enum with CellDecorationIcon to control whether a cell decoration icon appears on the left or right side of the cell, on either side of the cell text, or outside the cell boundary. This setting is used when applying decorations through IRange.setDecoration(ICellDecoration).
worksheet.getRange("A1").setValue("Status");
ICellDecorationIcon icon = new CellDecorationIcon(
"data:image/svg+xml;base64,PHN2Zz4=",
12, 12, IconPosition.LeftOfText);
CellDecoration decoration = new CellDecoration(Arrays.asList(icon));
worksheet.getRange("A1").setDecoration(decoration);
Enum.EnumDesc<E extends Enum<E>>static IconPositionforValue(int value) intgetValue()static IconPositionstatic IconPosition[]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