|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSLFShapeContainer
Common interface for shape containers, e.g. sheets or groups of shapes
Method Summary | |
---|---|
void |
clear()
Removes all of the elements from this container (optional operation). |
XSLFAutoShape |
createAutoShape()
create a new shape with a predefined geometry and add it to this shape container |
XSLFConnectorShape |
createConnector()
create a connector |
XSLFFreeformShape |
createFreeform()
create a new shape with a custom geometry |
XSLFGroupShape |
createGroup()
create a group of shapes belonging to this container |
XSLFPictureShape |
createPicture(int pictureIndex)
create a picture belonging to this container |
XSLFTextBox |
createTextBox()
create a text box |
XSLFShape[] |
getShapes()
Returns an array containing all of the elements in this container in proper sequence (from first to last element). |
boolean |
removeShape(XSLFShape xShape)
Removes the specified shape from this sheet, if it is present (optional operation). |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
XSLFAutoShape createAutoShape()
XSLFFreeformShape createFreeform()
XSLFTextBox createTextBox()
XSLFConnectorShape createConnector()
XSLFGroupShape createGroup()
XSLFPictureShape createPicture(int pictureIndex)
pictureIndex
-
XSLFShape[] getShapes()
boolean removeShape(XSLFShape xShape)
xShape
- shape to be removed from this sheet, if present
java.lang.IllegalArgumentException
- if the type of the specified shape
is incompatible with this sheet (optional)void clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |