JHotDraw 7.5.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 647 2010-01-24 22:52:59Z 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.