net.sourceforge.plantuml.cucadiagram
Class Link

java.lang.Object
  extended by net.sourceforge.plantuml.cucadiagram.Link

public class Link
extends Object


Constructor Summary
Link(IEntity cl1, IEntity cl2, LinkType type, String label, int length)
           
Link(IEntity cl1, IEntity cl2, LinkType type, String label, int length, String qualifier1, String qualifier2, String labeldistance, String labelangle)
           
Link(IEntity cl1, IEntity cl2, LinkType type, String label, int length, String qualifier1, String qualifier2, String labeldistance, String labelangle, HtmlColor specificColor)
           
 
Method Summary
 void addNote(List<? extends CharSequence> note, Position position, HtmlColor noteColor)
           
 void addNote(String n, Position position, HtmlColor noteColor)
           
 boolean contains(IEntity entity)
           
 boolean containsType(LeafType type)
           
 Link getBold()
           
 Link getDashed()
           
 Link getDotted()
           
 IEntity getEntity1()
           
 IEntity getEntity2()
           
 Link getInv()
           
 String getLabel()
           
 String getLabelangle()
           
 String getLabeldistance()
           
 int getLength()
           
 LinkArrow getLinkArrow()
           
 double getMarginDecors1(StringBounder stringBounder, UFont fontQualif, SpriteContainer spriteContainer)
           
 double getMarginDecors2(StringBounder stringBounder, UFont fontQualif, SpriteContainer spriteContainer)
           
 List<? extends CharSequence> getNote()
           
 HtmlColor getNoteColor()
           
 Position getNotePosition()
           
 IEntity getOther(IEntity entity)
           
 String getQualifier1()
           
 String getQualifier2()
           
 HtmlColor getSpecificColor()
           
 LinkType getType()
           
 String getUid()
           
 double getWeight()
           
 boolean hasEntryPoint()
           
 boolean hasTwoEntryPointsSameContainer()
           
 boolean isAutoLinkOfAGroup()
           
 boolean isBetween(IEntity cl1, IEntity cl2)
           
 boolean isConstraint()
           
 boolean isHorizontalSolitary()
           
 boolean isInverted()
           
 boolean isInvis()
           
 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 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,
            String label,
            int length)

Link

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

Link

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

getInv

public Link getInv()

getDashed

public Link getDashed()

getDotted

public Link getDotted()

getBold

public Link getBold()

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 String 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 List<? extends CharSequence> getNote()

getNoteColor

public final HtmlColor getNoteColor()

getNotePosition

public final Position getNotePosition()

addNote

public final void addNote(List<? extends CharSequence> 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,
                               SpriteContainer spriteContainer)

getMarginDecors2

public double getMarginDecors2(StringBounder stringBounder,
                               UFont fontQualif,
                               SpriteContainer 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()


Copyright © 2012. All Rights Reserved.