@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.
|
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.
|
com.nomagic.magicdraw.uml.symbols.PresentationElement |
getClient()
Returns client of the path.
|
java.awt.Point |
getClientPoint()
Returns point where path connects client end's element.
|
com.nomagic.magicdraw.uml.symbols.PresentationElement |
getSupplier()
Returns supplier of the path.
|
java.awt.Point |
getSupplierPoint()
Returns point where path connects supplier end's element.
|
boolean |
isConnectable(com.nomagic.magicdraw.uml.symbols.PresentationElement supplier,
com.nomagic.magicdraw.uml.symbols.PresentationElement client)
Checks if this path can connect given two elements.
|
getConnectedPathElementCount, getConnectedPathElements, getConnectedPathElements, getConnectedPathElements
addProperty, clone, collectSubManipulatedElements, editName, editName, firePropertyChange, getBounds, getBoundsShape, getDiagramPresentationElement, getDiagramSurface, getElement, getHumanName, getHumanType, getManipulatedPresentationElements, getMiddlePoint, getObjectParent, getParent, getPreferredSize, getPresentationElements, getPresentationElementStroke, getPresentationElementStroke, getProperty, getPropertyManager, getSelected, getStroke, getStroke, getStroke, getStroke, getStroke, getStroke, isSelected, onFind, onFind, setAllSelected, setSelected, setSelected, useParentProperties
accept, addPropertyChangeListener, atInsert, canAdd, canAdd, canAddChild, canAddChild, canAddInstance, canBeDeleted, canChangeParent, canDeleteChild, compareTo, createSortKeys, dispose, fireMultiSourcePropertyChange, generateID, getClassType, getCommandForAppending, 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 com.nomagic.magicdraw.uml.symbols.PresentationElement getClient()
@OpenApi public com.nomagic.magicdraw.uml.symbols.PresentationElement getSupplier()
@OpenApi public final boolean isConnectable(@CheckForNull com.nomagic.magicdraw.uml.symbols.PresentationElement supplier, @CheckForNull com.nomagic.magicdraw.uml.symbols.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