org.jhotdraw.samples.mini
Class SmartConnectionFigureSample
java.lang.Object
org.jhotdraw.samples.mini.SmartConnectionFigureSample
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.
- Version:
- $Id: SmartConnectionFigureSample.java 647 2010-01-24 22:52:59Z rawcoder $
- Author:
- Werner Randelshofer
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 |
SmartConnectionFigureSample
public SmartConnectionFigureSample()
main
public static void main(java.lang.String[] args)