View Javadoc

1   package org.kite9.diagram.primitives;
2   
3   
4   
5   /***
6    * A connection is a link between two Connected items within the diagram.  Connections have a notional
7    * 'from' and 'to', as well as decorations to show how the links should look.
8    */
9   public interface Connection extends DiagramElement, BiDirectional<Connected> {
10  
11  	/***
12  	 * The shape of the end of the edge at the from end
13  	 */
14  	public Object getFromDecoration();
15  	
16  	/***
17  	 * The shape of the end of the edge at the to end
18  	 */
19  	public Object getToDecoration();
20  	
21  	/***
22  	 * The text written on the from end
23  	 */
24  	public Label getFromLabel();
25  	
26  	/***
27  	 * Text on the to end
28  	 */
29  	public Label getToLabel();
30  
31  }