| |
|
| java.lang.Object org.apache.poi.hslf.model.Shape org.apache.poi.hslf.model.ShapeGroup
All known Subclasses: org.apache.poi.hslf.model.Table,
ShapeGroup | public class ShapeGroup extends Shape (Code) | | Represents a group of shapes.
author: Yegor Kozlov |
ShapeGroup | public ShapeGroup()(Code) | | Create a new ShapeGroup. This constructor is used when a new shape is created.
|
ShapeGroup | protected ShapeGroup(EscherContainerRecord escherRecord, Shape parent)(Code) | | Create a ShapeGroup object and initilize it from the supplied Record container.
Parameters: escherRecord - EscherSpContainer container which holds information about this shape Parameters: parent - the parent of the shape |
addShape | public void addShape(Shape shape)(Code) | | Add a shape to this group.
Parameters: shape - - the Shape to add |
createSpContainer | protected EscherContainerRecord createSpContainer(boolean isChild)(Code) | | Create a new ShapeGroup and create an instance of EscherSpgrContainer which represents a group of shapes
|
getAnchor | public java.awt.Rectangle getAnchor()(Code) | | Returns the anchor (the bounding box rectangle) of this shape group.
All coordinates are expressed in points (72 dpi).
the anchor of this shape group |
getHyperlink | public Hyperlink getHyperlink()(Code) | | Returns null - shape groups can't have hyperlinks
null . |
getShapes | public Shape[] getShapes()(Code) | | the shapes contained in this group container |
moveTo | public void moveTo(int x, int y)(Code) | | Moves this ShapeGroup to the specified location.
Parameters: x - the x coordinate of the top left corner of the shape in new location Parameters: y - the y coordinate of the top left corner of the shape in new location |
setAnchor | public void setAnchor(java.awt.Rectangle anchor)(Code) | | Sets the anchor (the bounding box rectangle) of this shape.
All coordinates should be expressed in Master units (576 dpi).
Parameters: anchor - new anchor |
|
|
|