Package org.apache.poi.xssf.usermodel
Class XSSFConnector
- java.lang.Object
-
- org.apache.poi.xssf.usermodel.XSSFShape
-
- org.apache.poi.xssf.usermodel.XSSFConnector
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
XSSFConnector(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector ctShape)
Construct a new XSSFConnector object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector
getCTConnector()
java.lang.String
getShapeName()
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties
getShapeProperties()
Returns xml bean with shape properties.int
getShapeType()
Gets the shape type, one of the constants defined inShapeTypes
.protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector
prototype()
Initialize default structure of a new auto-shapevoid
setShapeType(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
-
-
-
-
Constructor Detail
-
XSSFConnector
protected XSSFConnector(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector ctShape)
Construct a new XSSFConnector object.- Parameters:
drawing
- the XSSFDrawing that owns this shapectShape
- the shape bean that holds all the shape properties
-
-
Method Detail
-
prototype
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector prototype()
Initialize default structure of a new auto-shape
-
getCTConnector
@Internal public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector getCTConnector()
-
getShapeType
public int getShapeType()
Gets the shape type, one of the constants defined inShapeTypes
.- Returns:
- the shape type
- See Also:
ShapeTypes
-
setShapeType
public void setShapeType(int type)
Sets the shape types.- Parameters:
type
- the shape type, one of the constants defined inShapeTypes
.- See Also:
ShapeTypes
-
getShapeProperties
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
Description copied from class:XSSFShape
Returns xml bean with shape properties.- Specified by:
getShapeProperties
in classXSSFShape
- Returns:
- xml bean with shape properties.
-
getShapeName
public java.lang.String getShapeName()
- Returns:
- the name of this shape
-
-