@OpenApi public abstract class PathElement extends PathConnector implements com.nomagic.magicdraw.uml.symbols.LineJumpDrawer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BEZIER
Bezier path line style.
|
static java.util.List<java.lang.String> |
LINE_STYLE
All possible path line styles.
|
static java.lang.String |
OBLIQUE
Polyline path line style.
|
static java.lang.String |
RECTILINEAR
Path line style with rectilinear (90 degrees) breakpoint corners.
|
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 .
|
java.util.List<java.awt.Point> |
getAllBreakPoints()
Returns breaks points list with added supplier and client end point in the list as well.
|
java.util.List<java.awt.Point> |
getBreakPoints()
Returns break points of the path.
|
PresentationElement |
getClient()
Returns client of the path.
|
java.awt.Point |
getClientPoint()
Returns point where path connects client end's element.
|
PresentationElement |
getSupplier()
Returns supplier of the path.
|
java.awt.Point |
getSupplierPoint()
Returns point where path connects supplier end's element.
|
boolean |
isConnectable(PresentationElement supplier,
PresentationElement client)
Checks if this path can connect given two elements.
|
getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements
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, fireMultiSourcePropertyChange, firePropertyChange, generateID, getClassType, getCommandForAppending, getHumanName, getHumanType, getID, getName, getProject, getProjectImpl, getResourceID, getSortKeys, hasListeners, isEditable, isParentOf, removeAllChildren, removeAllParents, removeAllPropertyChangeListeners, removePropertyChangeListener, setID, setMDElement, sGetID, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
@OpenApi public static final java.lang.String RECTILINEAR
@OpenApi public static final java.lang.String OBLIQUE
@OpenApi public static final java.lang.String BEZIER
@OpenApi public static final java.util.List<java.lang.String> LINE_STYLE
@OpenApi public final java.util.List<java.awt.Point> getBreakPoints()
PresentationElementsManager.changePathBreakPoints(com.nomagic.magicdraw.uml.symbols.paths.PathElement, java.util.List)
@OpenApi public final java.util.List<java.awt.Point> getAllBreakPoints()
PresentationElementsManager.changePathBreakPoints(com.nomagic.magicdraw.uml.symbols.paths.PathElement, java.util.List)
@OpenApi public final java.awt.Point getSupplierPoint()
@OpenApi public final java.awt.Point getClientPoint()
@OpenApi public PresentationElement getClient()
@OpenApi public PresentationElement getSupplier()
@OpenApi public final boolean isConnectable(@CheckForNull PresentationElement supplier, @CheckForNull PresentationElement client)
supplier
- candidate for path's supplier.client
- candidate for path's client.@OpenApi public void accept(Visitor visitor) throws java.lang.Exception
MDElement
accept
in interface MDElement
accept
in class PathConnector
visitor
- which visits this element.java.lang.Exception