Class CommentsCollector

  • All Implemented Interfaces:
    Iterable<org.apache.poi.hssf.usermodel.HSSFShape>, org.apache.poi.hssf.usermodel.HSSFShapeContainer, org.apache.poi.ss.usermodel.ShapeContainer<org.apache.poi.hssf.usermodel.HSSFShape>

    public final class CommentsCollector
    extends Object
    implements org.apache.poi.hssf.usermodel.HSSFShapeContainer
    • Constructor Detail

      • CommentsCollector

        public CommentsCollector()
    • Method Detail

      • getComments

        public List<org.apache.poi.hssf.usermodel.HSSFComment> getComments()
      • getChildren

        public List<org.apache.poi.hssf.usermodel.HSSFShape> getChildren()
        Specified by:
        getChildren in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • addShape

        public void addShape​(org.apache.poi.hssf.usermodel.HSSFShape shape)
        Specified by:
        addShape in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • setCoordinates

        public void setCoordinates​(int x1,
                                   int y1,
                                   int x2,
                                   int y2)
        Specified by:
        setCoordinates in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • clear

        public void clear()
        Specified by:
        clear in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • getX1

        public int getX1()
        Specified by:
        getX1 in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • getY1

        public int getY1()
        Specified by:
        getY1 in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • getX2

        public int getX2()
        Specified by:
        getX2 in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • getY2

        public int getY2()
        Specified by:
        getY2 in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • removeShape

        public boolean removeShape​(org.apache.poi.hssf.usermodel.HSSFShape shape)
        Specified by:
        removeShape in interface org.apache.poi.hssf.usermodel.HSSFShapeContainer
      • iterator

        public Iterator<org.apache.poi.hssf.usermodel.HSSFShape> iterator()
        Specified by:
        iterator in interface Iterable<org.apache.poi.hssf.usermodel.HSSFShape>