public class Association extends ProcessEdge
Modifier and Type | Field and Description |
---|---|
static java.awt.BasicStroke |
annotationStroke |
protected static java.awt.Polygon |
associationFlowArrowSource |
protected static java.awt.Polygon |
associationFlowArrowTarget |
static java.lang.String |
DIRECTION_BOTH |
static java.lang.String |
DIRECTION_NONE |
static java.lang.String |
DIRECTION_SOURCE |
static java.lang.String |
DIRECTION_TARGET |
static java.lang.String |
PROP_DIRECTION
The direction of this Association.
|
static java.lang.String |
PROP_SOURCE_MULTIPLICITY |
static java.lang.String |
PROP_SOURCE_NAME |
static java.lang.String |
PROP_SOURCE_VISIBILITY |
static java.lang.String |
PROP_TARGET_MULTIPLICITY |
static java.lang.String |
PROP_TARGET_NAME |
static java.lang.String |
PROP_TARGET_VISIBILITY |
protected static int[] |
xArrowSourcePoints |
protected static int[] |
xArrowTargetPoints |
protected static int[] |
yArrowSourcePoints |
protected static int[] |
yArrowTargetPoints |
PROP_COLOR_ARC, PROP_LABEL, PROP_LABELOFFSET, PROP_POINTS, PROP_SOURCE_DOCKPOINT, PROP_SOURCENODE, PROP_TARGET_DOCKPOINT, PROP_TARGETNODE, routingPointCache, TAG_EDGE
contexts, FALSE, PROP_CLASS_TYPE, PROP_ID, TRUE
Constructor and Description |
---|
Association() |
Association(ProcessNode source,
ProcessNode target) |
Modifier and Type | Method and Description |
---|---|
java.awt.Stroke |
getLineStroke() |
java.awt.Shape |
getSourceShape() |
java.awt.Shape |
getTargetShape() |
protected boolean |
isDockingSupported()
Returns if this edge supports docking (might be overwritten by
subclasses).
|
addRoutingPoint, addRoutingPoint, clearRoutingPoints, clearSourceDockPointOffset, clearTargetDockPointOffset, clone, clonePropertiesFrom, copyPropertiesFrom, distanceToEdge, drawSourceArrow, drawTargetArrow, getColor, getCurve, getDockPointOffset, getLabel, getLabelHelper, getLabelOffset, getLabelPosition, getName, getRoutingPoint, getRoutingPoints, getRoutingPointShapes, getSource, getSourceDockPointOffset, getTarget, getTargetDockPointOffset, getXmlTag, isOutlineSourceArrow, isOutlineTargetArrow, moveRoutingPoint, newInstanceFromSerialization, paint, paintInternal, paintSelection, removeRoutingPoint, setColor, setDockPointOffset, setLabel, setLabelOffset, setRoutingPoints, setSource, setSourceDockPointOffset, setTarget, setTargetDockPointOffset, toString, updateCache
addContext, addListener, equals, getAlpha, getContexts, getId, getPropertyEditor, isHighlighted, isSelected, removeContext, removeListener, setAlpha, setHighlighted, setId, setProperty, setPropertyEditor, setSelected
getProperty, getPropertyKeys, getSerialization, removeProperty
protected static final int[] xArrowTargetPoints
protected static final int[] yArrowTargetPoints
protected static final java.awt.Polygon associationFlowArrowTarget
protected static final int[] xArrowSourcePoints
protected static final int[] yArrowSourcePoints
protected static final java.awt.Polygon associationFlowArrowSource
public static final java.awt.BasicStroke annotationStroke
public static final java.lang.String PROP_DIRECTION
public static final java.lang.String DIRECTION_SOURCE
public static final java.lang.String DIRECTION_TARGET
public static final java.lang.String DIRECTION_BOTH
public static final java.lang.String DIRECTION_NONE
public static final java.lang.String PROP_SOURCE_NAME
public static final java.lang.String PROP_SOURCE_MULTIPLICITY
public static final java.lang.String PROP_SOURCE_VISIBILITY
public static final java.lang.String PROP_TARGET_NAME
public static final java.lang.String PROP_TARGET_MULTIPLICITY
public static final java.lang.String PROP_TARGET_VISIBILITY
public Association()
public Association(ProcessNode source, ProcessNode target)
public java.awt.Shape getSourceShape()
getSourceShape
in class ProcessEdge
public java.awt.Shape getTargetShape()
getTargetShape
in class ProcessEdge
public java.awt.Stroke getLineStroke()
getLineStroke
in class ProcessEdge
protected boolean isDockingSupported()
ProcessEdge
isDockingSupported
in class ProcessEdge