org.jhotdraw.samples.mini
Class SmartConnectionFigureSample
- java.lang.Object
-
- org.jhotdraw.samples.mini.SmartConnectionFigureSample
-
public class SmartConnectionFigureSample extends java.lang.ObjectExample 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.
-
-
Constructor Summary
Constructors Constructor and Description SmartConnectionFigureSample()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)
-
DataMelt 3.0 © DataMelt by jWork.ORG