Class Link
- java.lang.Object
-
- net.sourceforge.plantuml.cucadiagram.WithLinkType
-
- net.sourceforge.plantuml.cucadiagram.Link
-
- All Implemented Interfaces:
Hideable
,Removeable
public class Link extends WithLinkType implements Hideable, Removeable
-
-
Field Summary
-
Fields inherited from class net.sourceforge.plantuml.cucadiagram.WithLinkType
hidden, type
-
-
Constructor Summary
Constructors Constructor Description Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length, java.lang.String qualifier1, java.lang.String qualifier2, java.lang.String labeldistance, java.lang.String labelangle, StyleBuilder styleBuilder)
Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length, java.lang.String qualifier1, java.lang.String qualifier2, java.lang.String labeldistance, java.lang.String labelangle, HColor specificColor, StyleBuilder styleBuilder)
Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length, StyleBuilder styleBuilder)
-
Method Summary
-
Methods inherited from class net.sourceforge.plantuml.cucadiagram.WithLinkType
applyStyle, getColors, getSpecificColor, getSupplementaryColors, getUStroke, goBold, goDashed, goDotted, goHidden, goSingle, goThickness, isSingle, setColors, setSpecificColor, setSpecificColor
-
-
-
-
Constructor Detail
-
Link
public Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length, StyleBuilder styleBuilder)
-
Link
public Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length, java.lang.String qualifier1, java.lang.String qualifier2, java.lang.String labeldistance, java.lang.String labelangle, StyleBuilder styleBuilder)
-
-
Method Detail
-
getStyleBuilder
public final StyleBuilder getStyleBuilder()
-
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 IEntity getEntity1()
-
getEntity2
public IEntity getEntity2()
-
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)
-
getQualifier1
public java.lang.String getQualifier1()
-
getQualifier2
public java.lang.String getQualifier2()
-
getWeight
public final double getWeight()
-
setWeight
public final void setWeight(double weight)
-
getNote
public final Display getNote()
-
getNoteLinkStrategy
public final NoteLinkStrategy getNoteLinkStrategy()
-
getNoteColors
public final Colors getNoteColors()
-
getNotePosition
public final Position getNotePosition()
-
addNoteFrom
public final void addNoteFrom(Link other, NoteLinkStrategy strategy)
-
isAutoLinkOfAGroup
public boolean isAutoLinkOfAGroup()
-
containsType
public boolean containsType(LeafType type)
-
contains
public boolean contains(IEntity entity)
-
getMarginDecors1
public double getMarginDecors1(StringBounder stringBounder, UFont fontQualif, ISkinSimple spriteContainer)
-
getMarginDecors2
public double getMarginDecors2(StringBounder stringBounder, UFont fontQualif, ISkinSimple spriteContainer)
-
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)
-
getVisibilityModifier
public final VisibilityModifier getVisibilityModifier()
-
setUmlDiagramType
public void setUmlDiagramType(UmlDiagramType type)
-
getUmlDiagramType
public UmlDiagramType getUmlDiagramType()
-
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()
-
-