Package org.apache.poi.xssf.usermodel
Class XSSFConnector
java.lang.Object
org.apache.poi.xssf.usermodel.XSSFShape
org.apache.poi.xssf.usermodel.XSSFConnector
- All Implemented Interfaces:
Shape
A connection shape drawing element. A connection shape is a line, etc.
that connects two other shapes in this drawing.
-
Method Summary
Modifier and TypeMethodDescriptionintGets the shape type, one of the constants defined inShapeTypes.voidsetShapeType(int type) Sets the shape types.Methods inherited from class org.apache.poi.xssf.usermodel.XSSFShape
getAnchor, getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFill
-
Method Details
-
getCTConnector
-
getShapeType
public int getShapeType()Gets the shape type, one of the constants defined inShapeTypes.- Returns:
- the shape type
- See Also:
-
setShapeType
public void setShapeType(int type) Sets the shape types.- Parameters:
type- the shape type, one of the constants defined inShapeTypes.- See Also:
-
getShapeName
- Returns:
- the name of this shape
-