[]
        
(Showing Draft Content)

ICellDecorationIcon

Interface ICellDecorationIcon

All Known Implementing Classes:
CellDecorationIcon

public interface ICellDecorationIcon
Represents the icon of a cell decoration.

 ICellDecorationIcon icon = new CellDecorationIcon(
     "data:image/svg+xml;base64,PHN2Zz4=", 12, 16, IconPosition.OutsideRight);
 IconPosition position = icon.getPosition();
 
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the icon height in pixels.
    Gets the icon position.
    Gets the icon src string.
    int
    Gets the icon width in pixels.
  • Method Details

    • getSrc

      String getSrc()
      Gets the icon src string.
      
       ICellDecorationIcon icon = new CellDecorationIcon(
           "data:image/svg+xml;base64,PHN2Zz4=", 12, 16, IconPosition.OutsideRight);
       String src = icon.getSrc();
       
      Returns:
      The icon source string.
    • getWidth

      int getWidth()
      Gets the icon width in pixels.
      
       ICellDecorationIcon icon = new CellDecorationIcon(
           "data:image/svg+xml;base64,PHN2Zz4=", 12, 16, IconPosition.OutsideRight);
       int width = icon.getWidth();
       
      Returns:
      The icon width in pixels.
    • getHeight

      int getHeight()
      Gets the icon height in pixels.
      
       ICellDecorationIcon icon = new CellDecorationIcon(
           "data:image/svg+xml;base64,PHN2Zz4=", 12, 16, IconPosition.OutsideRight);
       int height = icon.getHeight();
       
      Returns:
      The icon height in pixels.
    • getPosition

      IconPosition getPosition()
      Gets the icon position.
      
       ICellDecorationIcon icon = new CellDecorationIcon(
           "data:image/svg+xml;base64,PHN2Zz4=", 12, 16, IconPosition.OutsideRight);
       IconPosition position = icon.getPosition();
       
      Returns:
      The icon position.