@OpenApi public abstract class PathConnector extends PresentationElement
DASHED_STROKE, DOTTED_STROKE, SOLID_STROKE
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Method accepts visitor, and calls method visit<class name>(this) of visitor .
|
int |
getConnectedPathElementCount()
Returns number of connected path elements.
|
java.util.List<PathElement> |
getConnectedPathElements()
Returns connected path elements.
|
java.util.List<PathElement> |
getConnectedPathElements(boolean incoming)
Returns connected path elements by direction.
|
java.util.List<PathElement> |
getConnectedPathElements(boolean incoming,
boolean excludeToSelf)
Returns connected path elements by direction with an option to exclude paths to self
|
addProperty, collectSubManipulatedElements, editName, editName, getBounds, getBoundsShape, getDiagramPresentationElement, getDiagramSurface, getElement, getManipulatedParent, getManipulatedPresentationElements, getMiddlePoint, getObjectParent, getParent, getPreferredSize, getPresentationElements, getPresentationElementStroke, getPresentationElementStroke, getProperty, getPropertyManager, getSelected, getStroke, getStroke, getStroke, getStroke, getStroke, getStroke, hasManipulatedPresentationElements, isSelected, onFind, onFind, setAllSelected, setSelected, setSelected, useParentProperties
clone
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, compareTo, createSortKeys, dispose, firePropertyChange, generateID, getClassType, getCommandForAppending, getHumanName, getHumanType, getID, getName, getProject, getProjectImpl, getProjectProvider, getResourceID, getSortKeys, hasListeners, isEditable, isParentOf, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setMDElement, setProjectProvider, sGetID, toString
@OpenApi public final java.util.List<PathElement> getConnectedPathElements()
@OpenApi public java.util.List<PathElement> getConnectedPathElements(boolean incoming)
incoming
- true if incoming paths should be selected, false if outgoing.@OpenApi public java.util.List<PathElement> getConnectedPathElements(boolean incoming, boolean excludeToSelf)
incoming
- true if incoming paths should be selected, false if outgoing.excludeToSelf
- true if paths with source equal to target should not be added to the list, false to include them@OpenApi public final int getConnectedPathElementCount()