Class SmartConnectionFigureSample

  extended by

public class SmartConnectionFigureSample
extends java.lang.Object

Example showing how to connect two text areas with an elbow connection.

The 'SmartConnectionFigure', that is used to connect the two areas draws with double stroke, if the Figure at the start and at the end of the connection is the same.

In order to prevent editing of the stroke type by the user, the SmartConnectionFigure disables the stroke type attribute. Unless it needs to be changed by the SmartConnectionFigure by itself.

$Id: 604 2010-01-09 12:00:29Z rawcoder $
Werner Randelshofer

Nested Class Summary
private static class SmartConnectionFigureSample.SmartConnectionFigure
Constructor Summary
Method Summary
static void main(java.lang.String[] args)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SmartConnectionFigureSample()
Method Detail


public static void main(java.lang.String[] args)