- Welcome, Guest. Please Login or Register
  We have released initial version of MindFusion.Scheduling library for HTML5 & JavaScript.  
Page Index Toggle Pages: 1 Send Topic Print  
Version 4.4 beta
Read 405 times

Slavcho   Online
God Member
Posts: 1677
Gender: male

Version 4.4 beta
Mar 12th, 2019 at 3:45pm
JDiagram version 4.4 contains the following new features and improvements:

New CompositeNode components
Component classes that support user interaction can now be used as part of CompositeNode templates:
  • ButtonComponent implements clickable buttons inside nodes;
  • CheckBoxComponent implements check-boxes that can be toggled on and off;
  • EditComponent implements editable text area;
  • NumericEditComponent implements number-entry area;
  • SliderComponent allows selecting a value from numerical range by dragging a slider;
  • SpinnerComponent represents a spin-edit component;

<StackPanel Orientation="Vertical" GridColumn="1">
	<Button Name="Button" Width="10" Height="10"/>
	<Edit Name="Edit" Width="50" Height="30"/>

Code (Java):
if (node instanceof CompositeNode)
	CompositeNode cnode = (CompositeNode)node;
	ButtonComponent button = (ButtonComponent)cnode.findComponent("Button");
  	new ComponentMouseEventAdapter()
  		public void mouseClicked(Object sender, ComponentMouseEvent e)
  			EditComponent edit = (EditComponent)cnode.findComponent("Edit");

Improved FlowchartLayout
FlowchartLayout can now arrange more types of graphs, no longer requiring them to represent strictly-nested source code structures.

If anyone is interested in trying the beta version, please download this archive containing updated JAR file:

Any comments, questions and general feedback are welcome.
« Last Edit: Apr 29th, 2019 at 1:24pm by Slavcho »
IP Logged    
Page Index Toggle Pages: 1 Send Topic Print