Documentation of 'org.apache.poi.hssf.usermodel.HSSFShapeContainer' Java class
HSSFShapeContainer
org.apache.poi.hssf.usermodel

Interface HSSFShapeContainer

  • All Superinterfaces:
    java.lang.Iterable<HSSFShape>
    All Known Implementing Classes:
    HSSFPatriarch, HSSFShapeGroup


    public interface HSSFShapeContainer
    extends java.lang.Iterable<HSSFShape>
    An interface that indicates whether a class can contain children.
    • Method Detail

      • getChildren

        java.util.List<HSSFShape> getChildren()
        Returns:
        Any children contained by this shape.
      • addShape

        void addShape(HSSFShape shape)
        add shape to the list of child records
        Parameters:
        shape -
      • setCoordinates

        void setCoordinates(int x1,
                            int y1,
                            int x2,
                            int y2)
        set coordinates of this group relative to the parent
      • clear

        void clear()
      • getX1

        int getX1()
        Returns:
        The top left x coordinate of this group.
      • getY1

        int getY1()
        Returns:
        The top left y coordinate of this group.
      • getX2

        int getX2()
        Returns:
        The bottom right x coordinate of this group.
      • getY2

        int getY2()
        Returns:
        The bottom right y coordinate of this group.
      • removeShape

        boolean removeShape(HSSFShape shape)
        remove first level shapes
        Parameters:
        shape - to be removed
        Returns:
        true if shape is removed else return false

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.