当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
Change History for the Visual Library API - NetBeans API Javadoc (Current Development Version)
Overview
Introduction
This document lists changes made to the Visual Library API.
Please, ask on the users@graph.netbeans.org mailing list if you have any question about the details of a change,
or are wondering how to convert existing code to be compatible.
Fuller descriptions of all changes can be found below (follow links).
Not all deprecations are listed here, assuming that the deprecated
APIs continue to essentially work. For a full deprecation list, please
consult the
Javadoc.
These API specification versions may be used to indicate that a module
requires a certain API feature in order to function. For example, if you
see here a feature you need which is labelled 1.20, your
manifest should contain in its main attributes the line:
OpenIDE-Module-Module-Dependencies: org.netbeans.api.visual > 1.20
Apr 10 '07; API spec. version: 2.2; affected top-level classes: AnimatorListener
; made by: dkaspar; issues:
#99048
AnimatorListener interface has been added. It allows listening to important events of Animator interface implementation.
Built-in animators are accessible using getters on SceneAnimator class.
Apr 10 '07; API spec. version: 2.2; affected top-level classes: ConnectionWidgetCollisionsCollector
; made by: dkaspar; issues:
#99054
New ConnectionWidgetCollisionsCollection interface added.
It allows to obtain a context of currently routed ConnectionWidget.
It can be used using RouterFactory.createOrthogonalSearchRouter factory method.
Apr 3 '07; API spec. version: 2.1; affected top-level classes: LabelWidget
; made by: dkaspar; issues:
#98641
Added support for rendering vertical labels.
Apr 3 '07; API spec. version: 2.1; affected top-level classes: Widget
; made by: dkaspar; issues:
#98307
Widget.paintBorder method introduced.
Mar 13 '07; API spec. version: 2.0; affected top-level classes: ActionFactory
; made by: dkaspar; issues:
#97563
Added an action whith is using ActionMap and InputMap for handling key-presses and a popup menu.
Mar 9 '07; API spec. version: 2.0; affected top-level classes: AnchorShapeFactory
; made by: dkaspar; issues:
#91613
AnchorShapeFactory.createTriangleAnchorShape factory method now takes cut-distance parameter.
Mar 9 '07; API spec. version: 2.0; affected top-level classes: LayoutFactory
; made by: dkaspar; issues:
#97562
FillLayout class has been renamed to OverlayLayout. SerialLayout class has been renamed to FlowLayout.
At the same time their factory methods has bee renamed too.
LayoutFactory.createFillLayout method renamed to LayoutFactory.createOverlayLayout.
LayoutFactory.createHorizontalLayout method renamed to LayoutFactory.createHorizontalFlowLayout.
LayoutFactory.createVerticalLayout method renamed to LayoutFactory.createVerticalFlowLayout.
The original methods are deprecated now and are going to be removed for 6.0 Milestone 9. The new methods has been added.
Also BorderLayout.createFancyDashedBorder method is going to be removed for 6.0 Milestone 9.
Use BorderLayout.createDashedBorder(...,true) method instead.
Note that the LayouFactory.SerialAlignment enum name is not changed.
Mar 9 '07; API spec. version: 2.0; affected packages: org.netbeans.api.visual.widget.general
; made by: dkaspar; issues:
#97564
ListWidget and ListItemWidget are not in final shape and are deprecated. Therefore they have been moved out from the public-API packages.
Now they are copied in the org.netbeans.modules.visual.experimental.widget.general package.
The original classes are still deprecated and going to be removed for 6.0 Milestone 9.
Note that if you want to use the experimental widgets (outside of the public-API packages), you have to set an implementation dependency
on org.netbeans.api.visual module. Please, do not use implemementation dependency for anything except this.
Mar 8 '07; API spec. version: 2.0; affected packages: org.netbeans.api.visual
; made by: dkaspar; issues:
#95110
The library API becomes stable.