Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Version 4.0.3 beta (Read 1851 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Version 4.0.3 beta
Nov 20th, 2013 at 7:22am
Print Post  
JDiagram version 4.0.3 mostly improves compatibility and interoperability with MindFusion diagram controls for other platforms:

Pattern brushes
JDiagram now fully emulates hatch brushes from the Windows Forms GDI+ API. The HatchBrush class allows filling shapes with a pattern. Supported patterns are exposed as members of the HatchStyle class. Points or lines from the patterns are painted using the brush' ForegroundColor property, while the space between points or lines is filled using BackgroundColor.

Adjustment handles improvements
~ MoveOnly and HatchHandles3 handle styles now have the same default appearance as in .NET versions of the control, based on a HatchBrush with Percent50 pattern. The brush can be changed using the PatternBrush property of HandlesVisualStyle.
~ Two new HandlesStyle members added, RoundAndSquare and RoundAndSquare2, that draw corner resize handles as circles and remaining handles as squares.
~ RotationHandleBrush property added to HandlesVisualStyle.

Miscellaneous
~ Scrollable property added to TreeViewNode.
~ Decoration elements in Shape definitions can now be accessed using the getDecorations method.
~ You can change the text region of existing shapes using the setTextArea method.
~ The colors of multiple-selection frame can now be customized using the Pen and Brush properties.
~ The MeasureUnit property now supports Centimeter and WpfPoint values. The latter allows loading diagram files saved by WPF and Silverlight versions of the control with their default units.

API changes
For source code compatibility with Android version of the control, and eventual multi-touch support in future Java Swing versions, these members has been renamed to follow the W3C pointer events specification:

~ getMousePosition method in NodeEvent, LinkEvent and DiagramEvent has been renamed to getPointerPosition.
~ mousePressed, mouseMoved, mouseDragged and mouseReleased members of BehaviorBase have been renamed to pointerDown, pointerOver, pointerMove and pointerUp respectively.
~ nodeMouseEnter, nodeMouseLeave, linkMouseEnter, linkMouseLeave events in DiagramListener have been renamed to nodePointerEnter, nodePointerLeave, linkPointerEnter, linkPointerLeave.

If anyone is interested in trying the beta version, please download this archive containing the updated jar and help files:
https://mindfusion.eu/_beta/JDiagram403.zip

Any comments, questions and general feedback are welcome.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint