Interface HSSFShapeContainer

All Superinterfaces:
Iterable<HSSFShape>, ShapeContainer<HSSFShape>
All Known Implementing Classes:
HSSFPatriarch, HSSFShapeGroup

public interface HSSFShapeContainer extends ShapeContainer<HSSFShape>
An interface that indicates whether a class can contain children.
  • Method Details

    • getChildren

      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