net.sourceforge.plantuml.cucadiagram
Class Link

java.lang.Object
  extended by net.sourceforge.plantuml.cucadiagram.Link
All Implemented Interfaces:
Hideable, Removeable

public class Link
extends Object
implements Hideable, Removeable


Constructor Summary
Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length)
           
Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length, String qualifier1, String qualifier2, String labeldistance, String labelangle)
           
Link(IEntity cl1, IEntity cl2, LinkType type, Display label, int length, String qualifier1, String qualifier2, String labeldistance, String labelangle, HtmlColor specificColor)
           
 
Method Summary
 void addNote(Display note, Position position, HtmlColor noteColor)
           
 void addNote(String n, Position position, HtmlColor noteColor)
           
 boolean contains(IEntity entity)
           
 boolean containsType(LeafType type)
           
 boolean doesTouch(Link other)
           
 IEntity getEntity1()
           
 IEntity getEntity2()
           
 Link getInv()
           
 Display getLabel()
           
 String getLabelangle()
           
 String getLabeldistance()
           
 int getLength()
           
 LinkArrow getLinkArrow()
           
 double getMarginDecors1(StringBounder stringBounder, UFont fontQualif, ISkinSimple spriteContainer)
           
 double getMarginDecors2(StringBounder stringBounder, UFont fontQualif, ISkinSimple spriteContainer)
           
 Display getNote()
           
 HtmlColor getNoteColor()
           
 Position getNotePosition()
           
 IEntity getOther(IEntity entity)
           
 String getQualifier1()
           
 String getQualifier2()
           
 HtmlColor getSpecificColor()
           
 LinkType getType()
           
 String getUid()
           
 Url getUrl()
           
 double getWeight()
           
 void goBold()
           
 void goDashed()
           
 void goDotted()
           
 void goHidden()
           
 boolean hasEntryPoint()
           
 boolean hasTwoEntryPointsSameContainer()
           
 boolean hasUrl()
           
 boolean isAutolink()
           
 boolean isAutoLinkOfAGroup()
           
 boolean isBetween(IEntity cl1, IEntity cl2)
           
 boolean isConstraint()
           
 boolean isHidden()
           
 boolean isHorizontalSolitary()
           
 boolean isInverted()
           
 boolean isInvis()
           
 boolean isRemoved()
           
 boolean sameConnections(Link other)
           
 void setConstraint(boolean constraint)
           
 void setHorizontalSolitary(boolean horizontalSolitary)
           
 void setInvis(boolean invis)
           
 void setLength(int length)
           
 void setLinkArrow(LinkArrow linkArrow)
           
 void setOpale(boolean opale)
           
 void setSpecificColor(String s)
           
 void setUrl(Url url)
           
 void setWeight(double weight)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Link

public Link(IEntity cl1,
            IEntity cl2,
            LinkType type,
            Display label,
            int length)

Link

public Link(IEntity cl1,
            IEntity cl2,
            LinkType type,
            Display label,
            int length,
            String qualifier1,
            String qualifier2,
            String labeldistance,
            String labelangle)

Link

public Link(IEntity cl1,
            IEntity cl2,
            LinkType type,
            Display label,
            int length,
            String qualifier1,
            String qualifier2,
            String labeldistance,
            String labelangle,
            HtmlColor specificColor)
Method Detail

getInv

public Link getInv()

goDashed

public void goDashed()

goDotted

public void goDotted()

goHidden

public void goHidden()

goBold

public void goBold()

getLabeldistance

public String getLabeldistance()

getLabelangle

public String getLabelangle()

getUid

public String getUid()

isInvis

public final boolean isInvis()

setInvis

public final void setInvis(boolean invis)

isBetween

public boolean isBetween(IEntity cl1,
                         IEntity cl2)

toString

public String toString()
Overrides:
toString in class Object

getEntity1

public IEntity getEntity1()

getEntity2

public IEntity getEntity2()

getType

public LinkType getType()

getLabel

public Display getLabel()

getLength

public int getLength()

setLength

public final void setLength(int length)

getQualifier1

public String getQualifier1()

getQualifier2

public String getQualifier2()

getWeight

public final double getWeight()

setWeight

public final void setWeight(double weight)

getNote

public final Display getNote()

getNoteColor

public final HtmlColor getNoteColor()

getNotePosition

public final Position getNotePosition()

addNote

public final void addNote(Display note,
                          Position position,
                          HtmlColor noteColor)

addNote

public final void addNote(String n,
                          Position position,
                          HtmlColor noteColor)

isAutoLinkOfAGroup

public boolean isAutoLinkOfAGroup()

containsType

public boolean containsType(LeafType type)

contains

public boolean contains(IEntity entity)

getOther

public IEntity getOther(IEntity entity)

getMarginDecors1

public double getMarginDecors1(StringBounder stringBounder,
                               UFont fontQualif,
                               ISkinSimple spriteContainer)

getMarginDecors2

public double getMarginDecors2(StringBounder stringBounder,
                               UFont fontQualif,
                               ISkinSimple spriteContainer)

getSpecificColor

public HtmlColor getSpecificColor()

setSpecificColor

public void setSpecificColor(String s)

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)

isHidden

public boolean isHidden()
Specified by:
isHidden in interface Hideable

sameConnections

public boolean sameConnections(Link other)

doesTouch

public boolean doesTouch(Link other)

isAutolink

public boolean isAutolink()

isRemoved

public boolean isRemoved()
Specified by:
isRemoved in interface Removeable

hasUrl

public boolean hasUrl()


Copyright © 2014. All Rights Reserved.