Package net.sourceforge.plantuml.abel
Class Link
- java.lang.Object
-
- net.sourceforge.plantuml.decoration.WithLinkType
-
- net.sourceforge.plantuml.abel.Link
-
- All Implemented Interfaces:
Hideable
,Removeable
public class Link extends WithLinkType implements Hideable, Removeable
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.decoration.WithLinkType
hidden, type
-
-
Constructor Summary
Constructors Constructor Description Link(LineLocation location, CucaDiagram cucaDiagram, StyleBuilder styleBuilder, Entity cl1, Entity cl2, LinkType type, LinkArg linkArg)
-
Method Summary
-
Methods inherited from class net.sourceforge.plantuml.decoration.WithLinkType
applyStyle, getColors, getSpecificColor, getSupplementaryColors, getUStroke, goBold, goDashed, goDotted, goHidden, goSingle, goThickness, isSingle, setColors, setSpecificColor, setSpecificColor
-
-
-
-
Constructor Detail
-
Link
public Link(LineLocation location, CucaDiagram cucaDiagram, StyleBuilder styleBuilder, Entity cl1, Entity cl2, LinkType type, LinkArg linkArg)
-
-
Method Detail
-
getStyleBuilder
public final StyleBuilder getStyleBuilder()
-
getLinkStrategy
public LinkStrategy getLinkStrategy()
-
idCommentForSvg
public java.lang.String idCommentForSvg()
-
commentForSvg
public UComment commentForSvg()
-
getInv
public Link getInv()
-
goNorank
public void goNorank()
- Specified by:
goNorank
in classWithLinkType
-
getLabeldistance
public java.lang.String getLabeldistance()
-
getLabelangle
public java.lang.String getLabelangle()
-
getUid
public java.lang.String getUid()
-
isInvis
public final boolean isInvis()
-
setInvis
public final void setInvis(boolean invis)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getEntity1
public Entity getEntity1()
-
getEntity2
public Entity getEntity2()
-
getPortName1
public java.lang.String getPortName1()
-
getPortName2
public java.lang.String getPortName2()
-
getEntityPort1
public EntityPort getEntityPort1(Bibliotekon bibliotekon)
-
getEntityPort2
public EntityPort getEntityPort2(Bibliotekon bibliotekon)
-
getType
public LinkType getType()
- Overrides:
getType
in classWithLinkType
-
getTypePatchCluster
public LinkType getTypePatchCluster()
-
getLabel
public Display getLabel()
-
getLength
public int getLength()
-
setLength
public final void setLength(int length)
-
getQuantifier1
public java.lang.String getQuantifier1()
-
getQuantifier2
public java.lang.String getQuantifier2()
-
getWeight
public final double getWeight()
-
setWeight
public final void setWeight(double weight)
-
getNote
public final CucaNote getNote()
-
addNote
public final void addNote(CucaNote note)
-
addNoteFrom
public final void addNoteFrom(Link other, NoteLinkStrategy strategy)
-
isAutoLinkOfAGroup
public boolean isAutoLinkOfAGroup()
-
containsType
public boolean containsType(LeafType type)
-
contains
public boolean contains(Entity entity)
-
isConstraint
public final boolean isConstraint()
-
setConstraint
public final void setConstraint(boolean constraint)
-
setOpale
public void setOpale(boolean opale)
-
setHorizontalSolitary
public final void setHorizontalSolitary(boolean horizontalSolitary)
-
isHorizontalSolitary
public final boolean isHorizontalSolitary()
-
getLinkArrow
public final LinkArrow getLinkArrow()
-
setLinkArrow
public final void setLinkArrow(LinkArrow linkArrow)
-
isInverted
public final boolean isInverted()
-
hasEntryPoint
public boolean hasEntryPoint()
-
hasTwoEntryPointsSameContainer
public boolean hasTwoEntryPointsSameContainer()
-
getUrl
public Url getUrl()
-
setUrl
public void setUrl(Url url)
-
sameConnections
public boolean sameConnections(Link other)
-
doesTouch
public boolean doesTouch(Link other)
-
isAutolink
public boolean isAutolink()
-
isRemoved
public boolean isRemoved()
- Specified by:
isRemoved
in interfaceRemoveable
-
hasUrl
public boolean hasUrl()
-
getSametail
public java.lang.String getSametail()
-
setSametail
public void setSametail(java.lang.String sametail)
-
setPortMembers
public void setPortMembers(java.lang.String port1, java.lang.String port2)
-
setLinkConstraint
public void setLinkConstraint(LinkConstraint linkConstraint)
-
getLinkConstraint
public final LinkConstraint getLinkConstraint()
-
getCodeLine
public java.lang.String getCodeLine()
-
setCodeLine
public void setCodeLine(LineLocation location)
-
setStereotype
public void setStereotype(Stereotype stereotype)
-
getStereotype
public final Stereotype getStereotype()
-
getLinkArg
public final LinkArg getLinkArg()
-
getVisibilityModifier
public final VisibilityModifier getVisibilityModifier()
-
isOpale
public final boolean isOpale()
-
hasKal1
public final boolean hasKal1()
-
hasKal2
public final boolean hasKal2()
-
getLocation
public LineLocation getLocation()
-
-