public class Connector extends GeometryShape implements IConnector
Represents a connector.
Modifier and Type | Method and Description |
---|---|
IConnectorLock |
getConnectorLock()
Returns connector's locks.
|
IShape |
getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to.
|
long |
getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape.
|
IConnectorLock |
getShapeLock()
Returns shape's locks.
|
int |
getShapeType()
Returns or sets the AutoShape type.
|
IShape |
getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to.
|
long |
getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape.
|
void |
reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect.
|
void |
setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to.
|
void |
setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape.
|
void |
setShapeType(int value)
Returns or sets the AutoShape type.
|
void |
setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to.
|
void |
setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape.
|
createShapeElements, getAdjustments, getShapeStyle
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, getLineFormat, getName, getOfficeInteropShapeId, getParent_Immediate, getParentGroup, getPlaceholder, getPresentation, getRawFrame, getRotation, getSlide, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setHyperlinkClick, setHyperlinkMouseOver, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createShapeElements, getAdjustments, getShapeStyle
addPlaceholder, createEffectFormatEffective, createFillFormatEffective, createLineFormatEffective, createThreeDFormatEffective, getAlternativeText, getAlternativeTextTitle, getBlackWhiteMode, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat, getFrame, getHeight, getHidden, getLineFormat, getName, getOfficeInteropShapeId, getParentGroup, getPlaceholder, getRawFrame, getRotation, getThreeDFormat, getThumbnail, getThumbnail, getUniqueId, getWidth, getX, getY, getZOrderPosition, isGrouped, isTextHolder, removePlaceholder, setAlternativeText, setAlternativeTextTitle, setBlackWhiteMode, setFrame, setHeight, setHidden, setName, setRawFrame, setRotation, setWidth, setX, setY, writeAsSvg, writeAsSvg
getSlide
getPresentation
getHyperlinkClick, getHyperlinkManager, getHyperlinkMouseOver, setHyperlinkClick, setHyperlinkMouseOver
public final IConnectorLock getShapeLock()
Returns shape's locks.
Read-only IConnectorLock
.
getShapeLock
in interface IConnector
getShapeLock
in interface IShape
getShapeLock
in class Shape
public final IConnectorLock getConnectorLock()
Returns connector's locks.
Read-only IConnectorLock
.
getConnectorLock
in interface IConnector
public int getShapeType()
Returns or sets the AutoShape type.
Read/write ShapeType
.
getShapeType
in interface IGeometryShape
getShapeType
in class GeometryShape
public void setShapeType(int value)
Returns or sets the AutoShape type.
Read/write ShapeType
.
setShapeType
in interface IGeometryShape
setShapeType
in class GeometryShape
public final IShape getStartShapeConnectedTo()
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
getStartShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public final void setStartShapeConnectedTo(IShape value)
Returns or sets the shape to attach the beginning of the connector to.
Read/write IShape
.
setStartShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public final IShape getEndShapeConnectedTo()
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
getEndShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public final void setEndShapeConnectedTo(IShape value)
Returns or sets the shape to attach the end of the connector to.
Read/write IShape
.
setEndShapeConnectedTo
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when connected shape doesn't has any connection sites (IShape.ConnectionSiteCount equals zero)public final long getStartShapeConnectionSiteIndex()
Returns or sets the index of connection site for start shape.
Read/write long
.
getStartShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCountpublic final void setStartShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for start shape.
Read/write long
.
setStartShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than StartShapeConnectedTo.ConnectionSiteCountpublic final long getEndShapeConnectionSiteIndex()
Returns or sets the index of connection site for end shape.
Read/write long
.
getEndShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCountpublic final void setEndShapeConnectionSiteIndex(long value)
Returns or sets the index of connection site for end shape.
Read/write long
.
setEndShapeConnectionSiteIndex
in interface IConnector
com.aspose.ms.System.ArgumentException
- Thrown when value is less than EndShapeConnectedTo.ConnectionSiteCountpublic final void reroute()
Reroutes connector so that it take the shortest possible path between the shapes it connect.
reroute
in interface IConnector