org.apache.poi.xssf.usermodel
Class XSSFConnector

java.lang.Object
  extended by org.apache.poi.xssf.usermodel.XSSFShape
      extended by org.apache.poi.xssf.usermodel.XSSFConnector

public final class XSSFConnector
extends XSSFShape

A connection shape drawing element. A connection shape is a line, etc. that connects two other shapes in this drawing.

Author:
Yegor Kozlov

Field Summary
 
Fields inherited from class org.apache.poi.xssf.usermodel.XSSFShape
EMU_PER_PIXEL, EMU_PER_POINT, PIXEL_DPI, POINT_DPI
 
Method Summary
 org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector getCTConnector()
           
 int getShapeType()
          Gets the shape type, one of the constants defined in ShapeTypes.
 void 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCTConnector

public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTConnector getCTConnector()

getShapeType

public int getShapeType()
Gets the shape type, one of the constants defined in ShapeTypes.

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 in ShapeTypes.
See Also:
ShapeTypes