Release Notes

JViews 5.0 Graphics Framework Release Notes

This document describes the main changes that have been made to the JViews Graphics Framework since version 4.0.

Incompatibilities
General Changes
Library Changes
Thin Client Changes
Changes in Composer
Examples Changes


Incompatibilities

Some deprecated methods and classes of JViews 4.0 have been removed; check the JViews 4.0 Reference Manual for alternatives in each case.


General Changes

The main new features of the Graphics Framework are the following:

The IlvManager class, and as a consequence the IlvGrapher class, are now subclasses of IlvGraphic; thus an IlvManager object can be used as a graphic object. This functionality allows you to create applications with nested managers or graphers. In addition, it is now possible to create links (instances of IlvLinkImage) that can cross the boundary of the IlvGrapher. You can read the chapter "Nested Managers and Nested Graphers" to learn more about this feature.

In JViews 4.0, to export a graphic object that you have developed to SVG, you had to code the SVG export method for this object. JViews 5.0 now has a generic system, based on a subclass of the Java2D Graphics class, that can export any Java2D drawing to SVG. Thus, you no longer need to code the SVG export function.


Library Changes

New Classes

ilog.views.svg.DefaultRealToStringConverter

This singleton class translates float and double values to String in a default manner.

ilog.views.svg.GenericGraphicTranslator

This singleton class translates any kind of IlvGraphic to an SVG Element with a generic mechanism.

ilog.views.graphic.IlvDefaultCollapsedGraphic

A graphic object that shows a folder with a label underneath.

ilog.views.IlvDefaultManagerFrame

The default frame for an IlvManager.

ilog.views.swing.IlvJComponentGraphic

A class allowing you to put a Swing JComponent in an IlvManager.

ilog.views.interactor.IlvMagnifyInteractor

An interactor designed to magnify a part of the view by dragging the mouse over it.

ilog.views.IlvManagerFrame

The frame of an IlvManager.

ilog.views.java2d.IlvMultipleGradientPaint

This is the superclass for Paint implementations that use a multiple-color gradient to fill in their raster.

ilog.views.io.IlvSingleValueNamedProperty

The class IlvSingleValueNamedProperty is a named property for general purpose use that allows you to store a simple single value.

ilog.views.graphic.IlvTextPath

A graphic object that displays a text on any Shape.

ilog.views.IlvUnresizeableDrawSelection

This class is a default selection object used to show that a graphic object which cannot be resized with interactors is selected.

ilog.views.event.ManagerExpansionEvent

A ManagerExpansionEvent event is fired by the manager before a manager is expanded or after the manager is collapsed.

ilog.views.event.ManagerExpansionListener

Interface to be implemented by objects that need to observe the expand/collapse of a manager.

ilog.views.svg.SVGDocumentBuilderConfigurator.GraphicTranslator

This interface must be implemented by classes that want to translate an ilog.views.IlvGraphic to an instance of SVG DOM Element.

ilog.views.svg.SVGDocumentBuilderConfigurator.RealToStringConverter

This interface must be implemented by classes that want to define how the SVG DOM used by the SVGDocumentBuilder will translate real number values to DOM strings.

Modified Classes

ilog.views.IlvPoint

ilog.views.IlvRect

ilog.views.interactor.IlvDragRectangleInteractor

ilog.views.IlvDrawSelection

ilog.views.interactor.IlvEditLabelInteractor

ilog.views.graphic.IlvFixedSizeGraphic

ilog.views.graphic.IlvGeneralPath

ilog.views.IlvGrapher

ilog.views.IlvGrapherPin

ilog.views.IlvGraphic

ilog.views.IlvGraphicBag

ilog.views.IlvGraphicUtil

ilog.views.IlvIndexedSet

ilog.views.java2d.IlvLinearGradientPaint

ilog.views.IlvLinkConnector

ilog.views.IlvLinkImage

ilog.views.interactor.IlvMakePolyPointsInteractor

ilog.views.interactor.IlvMakeRectangleInteractor

ilog.views.IlvManager

ilog.views.IlvManagerView

ilog.views.IlvManagerViewInteractor

ilog.views.interactor.IlvMoveRectangleInteractor

ilog.views.IlvObjectInteractor

ilog.views.IlvObjectInteractorContext

ilog.views.io.IlvOutputStream

ilog.views.IlvPattern

ilog.views.IlvPinLinkConnector

ilog.views.IlvPolyPointsEdition

ilog.views.java2d.IlvRadialGradientPaint

ilog.views.IlvReshapeSelection

ilog.views.interactor.IlvRotateInteractor

ilog.views.interactor.IlvSelectInteractor

ilog.views.IlvSelection

ilog.views.IlvTransformer

ilog.views.IlvUtil

ilog.views.interactor.IlvZoomViewInteractor

ilog.views.graphic.IlvZoomableLabel

ilog.views.svg.SVGDocumentBuilder

ilog.views.svg.SVGDocumentBuilderConfigurator

ilog.views.svg.dom.SVGUtil


Changes in DHTML Thin Client

Please read the DHTML Release Notes to learn about the changes for the JavaScript DHTML Components.


Changes in Composer

The main Composer changes are the following:


Example Changes

Every example now contains a build.xml file that allows you to compile and run an example instead of a Windows nmake or a Unix makefile. This file is an Ant project file. Ant is a Java-based build tool developed by the Apache Software Foundation. (see http://jakarta.apache.org/ant/). The JViews distribution contains a version of Ant (see <installdir>/tools/ant) so that you do not need to get a copy from the Apache site. 

The JViews distribution contains several examples that show the use of JViews in a thin-client context, where the JViews library is used on the server side using the Java Servlet or JSP technology. To be able to run, these examples require a Web server. The Tomcat web server is supplied with the JViews distribution so that you do not need to download a Web server to run these examples. Tomcat is the official reference implementation of the Servlet and JSP specifications. To get more information on Tomcat, go to http://jakarta.apache.org/tomcat/.

Read the "Before You Start" section to learn more about using Ant and Tomcat.

An SVG Thin Client Example has been added.

A new example showing triple buffering has also been added.