[]
        
(Showing Draft Content)

ICellDecoration

Interface ICellDecoration

All Known Implementing Classes:
CellDecoration

public interface ICellDecoration
Represents a cell decoration.

 ICornerFold cornerFold = new CornerFold(Color.GetRed(), EnumSet.of(CornerPosition.LeftTop), 8);
 ICellDecoration decoration = new CellDecoration(cornerFold);
 ICornerFold actualCornerFold = decoration.getCornerFold();
 
  • Method Details

    • getCornerFold

      ICornerFold getCornerFold()
      Gets the corner fold of the cell decoration.
      
       ICornerFold cornerFold = new CornerFold(Color.GetRed(), EnumSet.of(CornerPosition.LeftTop), 8);
       ICellDecoration decoration = new CellDecoration(cornerFold);
       ICornerFold actualCornerFold = decoration.getCornerFold();
       
      Returns:
      The corner fold of the cell decoration.
    • getIcons

      Gets the icons of the cell decoration.
      
       ICellDecorationIcon icon = new CellDecorationIcon(
           "data:image/svg+xml;base64,PHN2Zz4=", 12, 12, IconPosition.OutsideRight);
       ICellDecoration decoration = new CellDecoration(Collections.singletonList(icon));
       List<ICellDecorationIcon> icons = decoration.getIcons();
       
      Returns:
      The icons of the cell decoration.