public class HSSFPatriarch extends Object implements HSSFShapeContainer
Modifier and Type | Method and Description |
---|---|
int |
countOfAllChildren()
Total count of all children and their children's children.
|
HSSFComment |
createComment(HSSFAnchor anchor)
Constructs a cell comment.
|
HSSFShapeGroup |
createGroup(HSSFClientAnchor anchor)
Creates a new group record stored under this patriarch.
|
HSSFPicture |
createPicture(HSSFClientAnchor anchor,
int pictureIndex)
Creates a picture.
|
HSSFPolygon |
createPolygon(HSSFClientAnchor anchor)
Creates a polygon
|
HSSFSimpleShape |
createSimpleShape(HSSFClientAnchor anchor)
Creates a simple shape.
|
HSSFTextbox |
createTextbox(HSSFClientAnchor anchor)
Constructs a textbox under the patriarch.
|
List |
getChildren()
Returns a list of all shapes contained by the patriarch.
|
int |
getX1()
The top left x coordinate of this group.
|
int |
getX2()
The bottom right x coordinate of this group.
|
int |
getY1()
The top left y coordinate of this group.
|
int |
getY2()
The bottom right y coordinate of this group.
|
void |
setCoordinates(int x1,
int y1,
int x2,
int y2)
Sets the coordinate space of this group.
|
public HSSFShapeGroup createGroup(HSSFClientAnchor anchor)
anchor
- the client anchor describes how this group is attached
to the sheet.public HSSFSimpleShape createSimpleShape(HSSFClientAnchor anchor)
anchor
- the client anchor describes how this group is attached
to the sheet.public HSSFPicture createPicture(HSSFClientAnchor anchor, int pictureIndex)
anchor
- the client anchor describes how this group is attached
to the sheet.public HSSFPolygon createPolygon(HSSFClientAnchor anchor)
anchor
- the client anchor describes how this group is attached
to the sheet.public HSSFTextbox createTextbox(HSSFClientAnchor anchor)
anchor
- the client anchor describes how this group is attached
to the sheet.public HSSFComment createComment(HSSFAnchor anchor)
anchor
- the client anchor describes how this comment is attached
to the sheet.public List getChildren()
getChildren
in interface HSSFShapeContainer
public int countOfAllChildren()
public void setCoordinates(int x1, int y1, int x2, int y2)
public int getX1()
public int getY1()
public int getX2()
public int getY2()
Copyright © 2014 Open Microscopy Environment