org.kite9.diagram.primitives
Interface Connection

All Superinterfaces:
BiDirectional<Connected>, Comparable<DiagramElement>, DiagramElement
All Known Implementing Classes:
AbstractConnection, Link

public interface Connection
extends DiagramElement, BiDirectional<Connected>

A connection is a link between two Connected items within the diagram. Connections have a notional 'from' and 'to', as well as decorations to show how the links should look.


Method Summary
 Object getFromDecoration()
          The shape of the end of the edge at the from end
 Label getFromLabel()
          The text written on the from end
 Object getToDecoration()
          The shape of the end of the edge at the to end
 Label getToLabel()
          Text on the to end
 
Methods inherited from interface org.kite9.diagram.primitives.DiagramElement
getRenderingInformation
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.kite9.diagram.primitives.BiDirectional
getDrawDirection, getDrawDirectionFrom, getFrom, getTo, meets, meets, otherEnd, setDrawDirection, setDrawDirectionFrom, setFrom, setTo
 

Method Detail

getFromDecoration

Object getFromDecoration()
The shape of the end of the edge at the from end


getToDecoration

Object getToDecoration()
The shape of the end of the edge at the to end


getFromLabel

Label getFromLabel()
The text written on the from end


getToLabel

Label getToLabel()
Text on the to end



Copyright © 2011. All Rights Reserved.