JHotDraw 7.1

org.jhotdraw.samples.mini
Class SmartConnectionFigureSample

java.lang.Object
  extended by 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:
1.0 March 9, 2007 Created.
Author:
Werner Randelshofer

Constructor Summary
SmartConnectionFigureSample()
           
 
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

SmartConnectionFigureSample

public SmartConnectionFigureSample()
Method Detail

main

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

Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.