public interface IConnectorUIModel extends IDiagramElement
COPY_TYPE_ANY, COPY_TYPE_CUT, COPY_TYPE_EMF, COPY_TYPE_JPG, COPY_TYPE_OLE, COPY_TYPE_PDF, COPY_TYPE_WITHIN_APPLICATION, COPY_TYPE_XML, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_BOTTOM_LEFT, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_BOTTOM_MIDDLE, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_BOTTOM_RIGHT, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_MIDDLE, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_MIDDLE_LEFT, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_MIDDLE_RIGHT, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_TOP_LEFT, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_TOP_MIDDLE, MODEL_ELEMENT_NAME_ALIGNMENT_ALIGN_TOP_RIGHT, MODEL_ELEMENT_NAME_ALIGNMENT_FOLLOW_DIAGRAM, PROPERTY_BACKGROUND, PROPERTY_CAPTION_UI_MODEL, PROPERTY_CREATOR_DIAGRAM_TYPE, PROPERTY_CUSTOMIZED_SORT_DIAGRAM_ELEMENT_IDS, PROPERTY_ELEMENT_FONT, PROPERTY_FOREGROUND, PROPERTY_HEIGHT, PROPERTY_LAYER_IDS, PROPERTY_LINE, PROPERTY_META_MODEL_ELEMENT, PROPERTY_MODEL_ELEMENT_NAME_ALIGNMENT, PROPERTY_REFERENCED_BY_DIAGRAM_IDS, PROPERTY_REFERENCED_BY_MODEL_ADDRESSES, PROPERTY_REQUEST_RESET_CAPTION, PROPERTY_REQUEST_RESET_CAPTION_FIT_WIDTH, PROPERTY_REQUEST_RESET_CAPTION_SIZE, PROPERTY_SELECTABLE, PROPERTY_SHAPE_GROUP, PROPERTY_STYLE, PROPERTY_WIDTH, PROPERTY_X, PROPERTY_Y
Modifier and Type | Method and Description |
---|---|
void |
addPoint(java.awt.Point point)
Adding Point to the connector.
|
void |
clearPoints() |
int |
getConnectorLabelOrientation() |
int |
getConnectorLineJumps() |
int |
getConnectorStyle() |
IConnectorUIModel |
getFromConnector() |
int |
getFromConnectType() |
java.lang.String |
getFromMemberId() |
java.awt.geom.Point2D |
getFromPinRatio() |
int |
getFromPinType() |
IShapeUIModel |
getFromShape() |
int |
getFromShapeXDiff() |
int |
getFromShapeYDiff() |
int |
getPaintThroughLabel() |
java.awt.Point[] |
getPoints() |
int |
getShowConnectorName() |
IConnectorUIModel |
getToConnector() |
int |
getToConnectType() |
java.lang.String |
getToMemberId() |
java.awt.geom.Point2D |
getToPinRatio() |
int |
getToPinType() |
IShapeUIModel |
getToShape() |
int |
getToShapeXDiff() |
int |
getToShapeYDiff() |
boolean |
isRequestRebuild() |
boolean |
isRequestRebuildFromEnd() |
boolean |
isRequestRebuildToEnd() |
boolean |
isUseFromShapeCenter() |
boolean |
isUseToShapeCenter() |
void |
setConnectorLabelOrientation(int connectorLabelOrientation) |
void |
setConnectorLineJumps(int connectorLineJumps) |
void |
setConnectorStyle(int connectorStyle) |
void |
setFromConnector(IConnectorUIModel fromConnector) |
void |
setFromConnectType(int fromConnectType) |
void |
setFromMemberId(java.lang.String fromMemberId) |
void |
setFromPinRatio(java.awt.geom.Point2D fromPinRatio) |
void |
setFromPinType(int fromPinType) |
void |
setFromShape(IShapeUIModel fromShape) |
void |
setFromShapeXDiff(int fromShapeXDiff) |
void |
setFromShapeYDiff(int fromShapeYDiff) |
void |
setPaintThroughLabel(int paintThroughLabel) |
void |
setRequestRebuild(boolean requestRebuild) |
void |
setRequestRebuildFromEnd(boolean requestRebuildFromEnd) |
void |
setRequestRebuildToEnd(boolean requestRebuildToEnd) |
void |
setShowConnectorName(int showConnectorName) |
void |
setToConnector(IConnectorUIModel toConnector) |
void |
setToConnectType(int toConnectType) |
void |
setToMemberId(java.lang.String toMemberId) |
void |
setToPinRatio(java.awt.geom.Point2D toPinRatio) |
void |
setToPinType(int toPinType) |
void |
setToShape(IShapeUIModel toShape) |
void |
setToShapeXDiff(int toShapeXDiff) |
void |
setToShapeYDiff(int toShapeYDiff) |
void |
setUseFromShapeCenter(boolean useFromShapeCenter) |
void |
setUseToShapeCenter(boolean useToShapeCenter) |
addChild, childIterator, childrenCount, equals, getBackground, getChildAt, getCreatorDiagramType, getCustomizedSortDiagramElementIds, getForeground, getHeight, getLayerIds, getLineModel, getMetaModelElement, getModelElementNameAlignment, getReferencedByDiagramIds, getReferencedByModelAddresses, getShapeType, getStyle, getWidth, getX, getY, indexOfChild, isMasterView, isRequestResetCaption, isRequestResetCaptionFitWidth, isRequestResetCaptionSize, isSelectable, removeChild, removeChildAt, setBackground, setBounds, setCreatorDiagramType, setCustomizedSortDiagramElementIds, setForeground, setHeight, setLayerIds, setLocation, setMetaModelElement, setModelElementNameAlignment, setReferencedByDiagramIds, setReferencedByModelAddresses, setRequestResetCaption, setRequestResetCaptionFitWidth, setRequestResetCaptionSize, setSelectable, setSize, setStyle, setWidth, setX, setY, toBeMasterView, toChildArray
addDiagramElementListener, deleteModel, deleteViewOnly, duplicate, fromConnectorIterator, fromConnectorsCount, getCaptionUIModel, getDiagramElementPropertyByName, getDiagramLayer, getDiagramLayers, getDiagramUIModel, getElementFont, getFromConnectorAt, getId, getModelElement, getToConnectorAt, getZOrder, indexOfFromConnector, indexOfToConnector, isDetachedFromDependentProject, isLoading, removeDiagramElementListener, resetCaption, resetCaptionSize, setModelElement, setZOrder, toConnectorIterator, toConnectorsCount, toDiagramElementPropertyArray, toFromConnectorArray, toPropertiesString, toToConnectorArray
getShapeGroup, getTopShapeGroup
static final java.lang.String PROPERTY_FROM_MEMBER_ID
static final java.lang.String PROPERTY_TO_MEMBER_ID
static final int PINTYPE_NONE
static final int PINTYPE_RATIO
static final int CS_RECTI_LINEAR
static final int CS_OBLIQUE
static final int CS_USE_DEFAULT
static final int CS_CURVE
static final int CS_ROUND_OBLIQUE
static final int CS_ROUND_RECTILINEAR
static final int CS_ARC
static final int CLJ_OFF
static final int CLJ_ARC
static final int CLJ_GAP
static final int CLJ_SQUARE
static final int CLJ_USE_DEFAULT
static final int CLO_HORIZONTAL_ONLY
static final int CLO_HORIZONTAL_OR_VERTICAL_ONLY
static final int CLO_FOLLOW_CONNECTOR_ANGLE
static final int CLO_FOLLOW_CONNECTOR_ANGLE_AND_KEEP_TEXT_UPRIGHT
static final int CLO_USE_DEFAULT
static final java.lang.String PROPERTY_CONNECTOR_STYLE
static final java.lang.String PROPERTY_CONNECTOR_LINE_JUMPS
static final java.lang.String PROPERTY_CONNECTOR_LABEL_ORIENTATION
static final java.lang.String PROPERTY_FROM_PIN_TYPE
static final java.lang.String PROPERTY_TO_PIN_TYPE
static final java.lang.String PROPERTY_FROM_SHAPE_X_DIFF
static final java.lang.String PROPERTY_FROM_SHAPE_Y_DIFF
static final java.lang.String PROPERTY_TO_SHAPE_X_DIFF
static final java.lang.String PROPERTY_TO_SHAPE_Y_DIFF
static final java.lang.String PROPERTY_FROM_CONNECT_TYPE
static final java.lang.String PROPERTY_TO_CONNECT_TYPE
static final java.lang.String PROPERTY_USE_FROM_SHAPE_CENTER
static final java.lang.String PROPERTY_USE_TO_SHAPE_CENTER
static final java.lang.String PROPERTY_FROM_PIN_RATIO
static final java.lang.String PROPERTY_TO_PIN_RATIO
static final java.lang.String PROPERTY_REQUEST_REBUILD
static final java.lang.String PROPERTY_REQUEST_REBUILD_FROM_END
static final java.lang.String PROPERTY_REQUEST_REBUILD_TO_END
static final java.lang.String PROPERTY_SHOW_CONNECTOR_NAME
static final java.lang.String PROPERTY_PAINT_THROUGH_LABEL
static final java.lang.String PROPERTY_FROM_SHAPE
static final java.lang.String PROPERTY_TO_SHAPE
static final java.lang.String QUERY_FROM_CONNECTABLE_BOUNDS
static final java.lang.String QUERY_TO_CONNECTABLE_BOUNDS
void clearPoints()
void addPoint(java.awt.Point point)
clearPoints
and add the new points one by one.point
- the Point will be appended to this connector.java.awt.Point[] getPoints()
void setFromShape(IShapeUIModel fromShape)
void setToShape(IShapeUIModel toShape)
void setFromConnector(IConnectorUIModel fromConnector)
void setToConnector(IConnectorUIModel toConnector)
void setFromMemberId(java.lang.String fromMemberId)
java.lang.String getFromMemberId()
void setToMemberId(java.lang.String toMemberId)
java.lang.String getToMemberId()
void setConnectorStyle(int connectorStyle)
int getConnectorStyle()
void setConnectorLineJumps(int connectorLineJumps)
int getConnectorLineJumps()
void setConnectorLabelOrientation(int connectorLabelOrientation)
int getConnectorLabelOrientation()
void setFromShapeXDiff(int fromShapeXDiff)
int getFromShapeXDiff()
void setFromShapeYDiff(int fromShapeYDiff)
int getFromShapeYDiff()
void setToShapeXDiff(int toShapeXDiff)
int getToShapeXDiff()
void setToShapeYDiff(int toShapeYDiff)
int getToShapeYDiff()
void setFromConnectType(int fromConnectType)
int getFromConnectType()
void setToConnectType(int toConnectType)
int getToConnectType()
void setUseFromShapeCenter(boolean useFromShapeCenter)
boolean isUseFromShapeCenter()
void setUseToShapeCenter(boolean useToShapeCenter)
boolean isUseToShapeCenter()
IConnectorUIModel getFromConnector()
IConnectorUIModel getToConnector()
IShapeUIModel getFromShape()
IShapeUIModel getToShape()
void setFromPinType(int fromPinType)
int getFromPinType()
void setToPinType(int toPinType)
int getToPinType()
void setFromPinRatio(java.awt.geom.Point2D fromPinRatio)
java.awt.geom.Point2D getFromPinRatio()
void setToPinRatio(java.awt.geom.Point2D toPinRatio)
java.awt.geom.Point2D getToPinRatio()
void setRequestRebuild(boolean requestRebuild)
boolean isRequestRebuild()
void setRequestRebuildFromEnd(boolean requestRebuildFromEnd)
boolean isRequestRebuildFromEnd()
void setRequestRebuildToEnd(boolean requestRebuildToEnd)
boolean isRequestRebuildToEnd()
void setShowConnectorName(int showConnectorName)
int getShowConnectorName()
void setPaintThroughLabel(int paintThroughLabel)
int getPaintThroughLabel()