JHotDraw 7.4.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:
$Id: SmartConnectionFigureSample.java 604 2010-01-09 12:00:29Z rawcoder $
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-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.