MindFusion.Diagramming for Java Swing V4.8
Released: Jun 1, 2025
Mises à jour de V4.8
Fonctionnalités
- ItemLabel Image:
- Added a new Image property to ItemLabel which lets you display icons along a link's geometry, or add more images to a ShapeNode.
- If a label contains both Text and Image, their relative position is specified by ImageAlign property (by default the image is placed on left side of text), and distance by ContentPadding.
- The image is rendered using intrinsic size reported by java.awt.Image, unless you override it by setting ImageSize property.
- You can now treat label images as clickable icons by handling linkClicked or nodeClicked events and checking Label argument passed to their handlers.
- Customize Node Action Icons:
- The Renderers class lets you customize the appearance of nodes' fold, scroll and collapse icons, by providing Graphics2D drawing callbacks, bitmap images or SVG drawings:
- Set ExpandIconRenderer to override the appearance of collapse / expand buttons displayed by Expandable nodes.
- Set ScrollIconRenderer to override the appearance of scroll arrows displayed by Scrollable tables.
- Set FoldIconRenderer to override the appearance of fold / unfold buttons displayed by Foldable containers.
- Miscellaneous:
- Label argument now provided with click and double click events.
- Locked property added to ItemLabel, which lets you prevent users from editing label's text, and moving it when Behavior is set to MoveLabels.
- SVG rendering improvements.
- JSON serialization fixes and improvements.
- API Changes:
- XmlException moved to com.mindfusion.common package.