org.kite9.diagram.adl
Class Link
java.lang.Object
org.kite9.diagram.primitives.AbstractBiDirectional<Connected>
org.kite9.diagram.primitives.AbstractConnection
org.kite9.diagram.adl.Link
- All Implemented Interfaces:
- Comparable<DiagramElement>, BiDirectional<Connected>, Connection, DiagramElement
public class Link
- extends AbstractConnection
Joins glyphs and arrows to one another.
Can have text attached to the 'to' end, and decoration at the 'to' end
Set the drawDirection if the rendering system should draw the link in a particular orientation on the
diagram.
- Author:
- robmoffat
|
Constructor Summary |
Link()
|
Link(Connected from,
Connected to)
|
Link(Connected from,
Connected to,
LinkEndStyle fromStyle,
Label fromLabel,
LinkEndStyle toEndStyle,
Label toLabel)
|
Link(Connected from,
Connected to,
LinkEndStyle fromStyle,
Label fromLabel,
LinkEndStyle toEndStyle,
Label toLabel,
Direction drawDirection)
|
Link(Connected from,
Connected to,
LinkEndStyle toEndStyle,
String toTextStr,
Direction drawDirection)
Deprecated. |
| Methods inherited from class org.kite9.diagram.primitives.AbstractBiDirectional |
getDrawDirection, getDrawDirectionFrom, getFrom, getTo, meets, meets, otherEnd, setDrawDirection, setDrawDirectionFrom, setFrom, setTo, toString |
| Methods inherited from interface org.kite9.diagram.primitives.BiDirectional |
getDrawDirection, getDrawDirectionFrom, getFrom, getTo, meets, meets, otherEnd, setDrawDirection, setDrawDirectionFrom, setFrom, setTo |
Link
public Link()
Link
public Link(Connected from,
Connected to)
Link
public Link(Connected from,
Connected to,
LinkEndStyle fromStyle,
Label fromLabel,
LinkEndStyle toEndStyle,
Label toLabel)
Link
@Deprecated
public Link(Connected from,
Connected to,
LinkEndStyle toEndStyle,
String toTextStr,
Direction drawDirection)
- Deprecated.
Link
public Link(Connected from,
Connected to,
LinkEndStyle fromStyle,
Label fromLabel,
LinkEndStyle toEndStyle,
Label toLabel,
Direction drawDirection)
getStyle
public LinkLineStyle getStyle()
setStyle
public void setStyle(LinkLineStyle style)
Copyright © 2011. All Rights Reserved.