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:
- Nested Managers and Nested Graphers
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.
- Exporting any JViews Graphic Objects to SVG
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
- The class now inherits from
java.awt.geom.Point2D.Float
.
ilog.views.IlvRect
- The class now inherits from
java.awt.geom.Rectangle2D.Float
.
ilog.views.interactor.IlvDragRectangleInteractor
- New methods:
- setOpaqueMode(boolean): Sets the
interactor in Opaque mode.
- isOpaqueMode(): Returns whether
the interactor is in Opaque mode or not.
- isXORGhost(): Returns the ghost
drawing mode.
- getStartPoint(): Returns the
anchor point of the rectangle that is dragged.
ilog.views.IlvDrawSelection
- New methods:
- getHandlesRectangle(IlvTransformer):
Returns the rectangle on which the handles are located.
- isOptimizedDrawingEnabled():
Optimization is enabled for this selection object.
- supportsResize(): Returns
true
if this object allows the resize of the selected graphic object.
ilog.views.interactor.IlvEditLabelInteractor
- New methods:
- setCreationInSubManagersAllowed(boolean):
Allows objects to be created in submanagers.
- isCreationInSubManagersAllowed():
Returns
true
if the creation of objects in submanagers is
allowed, and false
otherwise.
- editObject(IlvGraphic, IlvPoint):
This method is called to do the actual editing of the graphic object,
which may be
null
when creating a new one.
ilog.views.graphic.IlvFixedSizeGraphic
- New methods:
- makeSelection(): Creates a
selection object for this graphic object.
ilog.views.graphic.IlvGeneralPath
- New methods:
- getShapeBounds(IlvTransformer):
Returns the bounding rectangle of the
Shape
of the object.
- setShapeBounds(IlvRect): Resizes
the bounding rectangle of the
Shape
of the object.
ilog.views.IlvGrapher
- New constructors:
- IlvGrapher(IlvInputStream):
Reads the grapher from an IlvInputStream.
- IlvGrapher(IlvGrapher): Creates
a new IlvGrapher by copying the specified one.
- New methods:
- copy(): Creates a new IlvGrapher
by copying this grapher.
- getExternalInterGraphLinks():
Returns the intergraph links whose origin or destination node is stored
in this grapher.
- getExternalInterGraphLinksCount():
Returns the number of intergraph links whose origin or destination node
is stored in this grapher.
- getInterGraphLinks(): Returns
the intergraph links stored in this grapher.
- getInterGraphLinksCount():
Returns the number of intergraph links stored in this grapher.
- addInterGraphLink(IlvLinkImage, boolean):
Adds an intergraph link.
- getLowestCommonGrapher(IlvGraphic,
IlvGraphic): Returns the lowest common grapher of two
graphic objects, or
null
if the two objects do not have a
common ancestor.
- isInterGraphLink(IlvGraphic):
Returns
true
if the object is a link contained in this IlvGrapher
and the link is an intergraph link.
ilog.views.IlvGrapherPin
- New methods:
- getType(): Returns the type of
the pin ghost.
- getSize(): Returns the size of
the pin ghost.
- zoomable(): Returns
true
if the pin is zoomable; otherwise it returns false
.
ilog.views.IlvGraphic
- New methods:
- getTopLevelGraphicBag(): Returns
the top level IlvGraphicBag.
- getObjectInteractor(): Returns
the object interactor associated with this object.
- setObjectInteractor(IlvObjectInteractor):
Changes the object interactor associated with this object.
ilog.views.IlvGraphicBag
- New methods:
- getObjects(): Returns an
enumeration of all the objects in this graphic bag.
- getGraphicBag(): Returns the
IlvGraphicBag that contains this bag,
or
null
if it is not contained in any bag.
ilog.views.IlvGraphicUtil
- New methods:
- StartAntiAliasing(Graphics):
Sets the anti-aliasing hint on the
Graphics
.
- StopAntiAliasing(Graphics):
Unsets the anti-aliasing hint on the
Graphics
.
- DrawRenderedImage(Graphics, IlvRect,
RenderedImage, IlvTransformer, boolean): Draws a
RenderedImage
with a given IlvTransformer.
ilog.views.IlvIndexedSet
- New methods:
- getManagers(): Returns an
enumeration of all the instances of IlvManager that have
been added in this IlvIndexedSet.
- getManagersCount(): Returns the
number of IlvManager objects that have been added
in this IlvIndexedSet.
- mapInside(IlvRect, IlvRect, IlvApplyObject,
Object, IlvTransformer, boolean): Applies a function to all
objects located in a specified rectangle.
- mapIntersects(IlvRect, IlvRect,
IlvApplyObject, Object, IlvTransformer, boolean): Applies a
function to all objects with a bounding box that intersects a specified
rectangle.
ilog.views.java2d.IlvLinearGradientPaint
- New constructors:
- IlvLinearGradientPaint(Point2D, Point2D,
float[], Color[], short, short, AffineTransform, boolean):
Builds an IlvLinearGradientPaint.
ilog.views.IlvLinkConnector
- New methods:
- getGhostBoundingBox(IlvTransformer):
Returns the bounding box of the ghost of the connection points.
- allowsConnectionPointMove(IlvLinkImage,
boolean): Indicates whether a connection point of a link can
be moved by interactors.
ilog.views.IlvLinkImage
- New methods:
- getLinkConnectorConnectionPoint(boolean,
IlvPoint, IlvTransformer): Returns in a parameter
p
the
position of the extremity of the link when a link connector is attached
to the extremity node.
- getToBoundingBox(IlvTransformer):
Returns the bounding box of the graphic object that is the destination
of this link.
- getFromBoundingBox(IlvTransformer):
Returns the bounding box of the graphic object that is the origin of
this link.
- getVisibleFrom(): Returns the
origin graphic object visible on the screen if the link is an
intergraph link.
- getVisibleTo(): Returns the
destination graphic object visible on the screen if the link is an
intergraph link.
- getFromTransformer(IlvTransformer):
Returns the transformer used to draw the origin node of the link, when
the link is drawn with the specified transformer.
- getToTransformer(IlvTransformer):
Returns the transformer used to draw the destination node of the link,
when the link is drawn with the specified transformer.
ilog.views.interactor.IlvMakePolyPointsInteractor
- New methods:
- setMinPointsDistance(float):
Sets the minimum distance between two consecutive points.
- getMinPointsDistance(): Returns
the minimum distance between two created points.
- setOpaqueMode(boolean): Sets the
interactor in Opaque mode.
- isOpaqueMode(): Returns whether
the interactor is in Opaque mode or not.
- isXORGhost(): Returns the ghost
drawing mode.
- setSelectionMode(boolean):
Enables the selection of the created graphic object and the deselection
of the other graphic objects contained in the manager after the
creation.
- isSelectionMode(): Returns
true
if the graphic object is selected after creation, while the other
objects are deselected.
- setCreationInSubManagersAllowed(boolean):
Allows objects to be created in submanagers .
- isCreationInSubManagersAllowed():
Returns
true
if the creation of objects in submanagers is
allowed, and false
otherwise.
ilog.views.interactor.IlvMakeRectangleInteractor
- New methods:
- setCreationInSubManagersAllowed(boolean):
Allows objects to be created in submanagers.
- isCreationInSubManagersAllowed():
Returns
true
if the creation of objects in submanagers is
allowed, and false
otherwise.
- isXORGhost(): Returns the ghost
drawing mode.
- setSelectionMode(boolean):
Enables the selection of the created graphic object and the deselection
of the other graphic objects contained in the manager after the
creation.
- isSelectionMode(): Returns
true
if the graphic object is selected after creation, while the other
objects are deselected.
- resizeObject(IlvGraphic, IlvRect):
Resizes the graphic object.
ilog.views.IlvManager
- New constructors:
- IlvManager(IlvManager): Creates
a new IlvManager by copying an existing one.
- IlvManager(IlvInputStream):
Reads the manager from an IlvInputStream.
- New methods:
- getCardinal(boolean): Returns
the number of objects stored in the manager and in the managers that
have been added recursively in this manager.
- getObjects(boolean): Returns an
enumeration of all the objects in the manager and in the managers that
have been added recursively in this manager.
- getObject(IlvPoint, IlvManagerView, boolean):
Returns the graphic object located at the specified point in a manager
view; otherwise, it returns
null
.
- getSelection(IlvPoint, IlvManagerView,
boolean): Returns the selection object (instance of
IlvSelection)
located at the specified point in a manager view.
- selectAll(boolean, boolean):
Selects all the visible graphic objects in the manager.
- deSelectAll(boolean, boolean):
Deselects all the graphic objects in the manager.
- getSelectedObjects(boolean):
Returns an enumeration of all the selected objects in this manager.
- getSelectedObjectsCount(boolean):
Returns the number of selected objects.
- deleteSelections(boolean, boolean):
Removes the selected objects.
- map(IlvApplyObject, Object, boolean):
Applies a function on all objects of the manager.
- mapIntersects(IlvApplyObject, Object,
IlvRect, IlvTransformer, boolean): Applies a function on all
objects of the manager that intersect the specified rectangle.
- mapInside(IlvApplyObject, Object, IlvRect,
IlvTransformer, boolean): Applies a function on all objects
of the manager that are inside the specified rectangle.
- getManagers(): Returns an
enumeration of all the managers that have been added in this manager.
- getManagers(int): Returns an
enumeration of all the managers that have been added in this manager in
the specified layer.
- getManagersCount(): Returns the
number of managers that have been added in this manager.
- getManagersCount(int): Returns
the number of managers that have been added in this manager in the
specified layer.
- zoomable(): Returns
false
,
since this graphic object is not zoomable.
- applyTransform(IlvTransformer):
Applies a transformation to the manager.
- setGraphicBag(IlvGraphicBag):
Changes the bag that contains the object.
- setCollapsed(boolean): Collapses
or expands the manager.
- isCollapsed(): Returns the
collapsed/expanded status of the manager.
- setCollapsedGraphic(IlvGraphic):
Changes the representation of the manager when the manager is collapsed.
- getCollapsedGraphic(): Returns
the representation of the manager when the manager is collapsed.
- boundingBox(IlvTransformer):
Returns the bounding rectangle of the manager when drawn with the
specified transformer.
- copy(): Creates a new manager by
copying this manager.
- getFrame(): Returns the frame of
the manager.
- setFrame(IlvManagerFrame): Sets
the frame of the manager.
- getParent(): Returns the manager
that contains this manager, or
null
if this manager is not
contained in a manager.
- getTransformer(): Returns the
local transformer of this manager.
- getDrawingTransformer(IlvManagerView):
Returns the transformer used to draw this manager.
- getTopLevelTransformer():
Returns the transformer that allows converting from the coordinate
system of this manager to the coordinate system of the top-level
manager.
- containsFrame(IlvPoint, IlvPoint,
IlvTransformer): Tests if the specified points lie within
the manager frame.
- contains(IlvPoint, IlvPoint, IlvTransformer):
Tests if a point lies within this manager.
- draw(Graphics, IlvTransformer):
Draws the manager.
ilog.views.IlvManagerView
- New methods:
- repaint(IlvRect): Repaints a
region of the view.
ilog.views.IlvManagerViewInteractor
- New methods:
- setXORGhost(boolean): Sets the
ghost drawing mode.
- isXORGhost(): Returns the ghost
drawing mode.
ilog.views.interactor.IlvMoveRectangleInteractor
- New methods:
- setOpaqueMode(boolean): Sets the
interactor in Opaque mode.
- isOpaqueMode(): Returns whether
the interactor is in Opaque mode or not.
- isXORGhost(): Returns the ghost
drawing mode.
ilog.views.IlvObjectInteractor
- New methods:
- handleExpose(IlvGraphic, Graphics,
IlvObjectInteractorContext): This method is called by the
view when the view is drawn.
ilog.views.IlvObjectInteractorContext
- New methods:
- getGrid(): Returns the grid
associated with this interactor context.
- repaint(IlvRect): Repaints a
region.
ilog.views.io.IlvOutputStream
- New methods:
- write(String, GradientPaint):
Writes a single AWT Gradient field.
- write(String, IlvPattern):
Writes a pattern field.
- write(String, IlvTexture):
Writes a texture field.
- write(String, BasicStroke):
Writes a single AWT BasicStroke field.
ilog.views.IlvPattern
- New attributes:
- HORIZONTAL: Horizontal pattern
- DARK_HORIZONTAL: Thick
horizontal pattern
- NARROW_DARK_HORIZONTAL: Thick
narrow horizontal pattern
- VERTICAL: Vertical pattern
- DARK_VERTICAL: Thick vertical
pattern
- NARROW_DARK_VERTICAL: Thick
narrow vertical pattern
- UP_DIAGONAL: Upward diagonal
pattern
- UP_THICK_DIAGONAL: Upward thick
diagonal pattern
- DOWN_DIAGONAL: Downward diagonal
pattern
- DOWN_THICK_DIAGONAL: Downward
thick diagonal pattern
- LARGE_DARK_GRID: Large dark grid
- SMALL_DARK_GRID: Small dark grid
- ALTERNATE_DOTS: Alternate dots
pattern
- TINY_GRID: A tiny grid
- DIAGONAL_GRID: A 45 degrees
rotated grid
- THICK_DIAGONAL_GRID: A 45
degrees rotated grid with thick lines
- SMALL_DIAGONAL_GRID: A 45
degrees rotated small grid
- DOWN_BLACK_DIAGONAL: Black
downward diagonal
- UP_BLACK_DIAGONAL: Black upward
diagonal
- TINY_STIPPLE: A tiny grid with
points
- SMALL_STIPPLE: A small grid with
points
- STIPPLE: A grid with points
- WAVES: Wave pattern
- WAFFER: Waffer pattern
- BRICKS_HORIZONTAL: Horizontal
bricks
- BRICKS_VERTICAL: Vertical bricks
- BRICKS_DIAGONAL: Diagonal bricks
- DOT_QUILT: Dot quilt pattern
- BALLS: Balls pattern
- THATCHES: Thatches pattern
- LIGHT_LOSANGES: Light diamond
pattern
- VSHAPE: V-Shape pattern
- DARK_SAND: Dark sand pattern
- LIGHT_SAND: Light sand pattern
- SCALES: Horizontal fish-scale
pattern
- OBLIQUE_TILES: Oblique 3D tiles
- DIAGONAL_TILES: Diagonal roof
tiles
- AZTEC: Aztec style
- ALTERNATE_DIAGONAL: Alternated
diagonals
- CIRCLE_DOT: Circle and dot
pattern
- SMALL_CHESSBOARD: Small chess
board
- ARCHES: Arches pattern
- COBBLE_DIAGONAL: Diagonal brick
cobble
ilog.views.IlvPinLinkConnector
- New methods:
- getPinType(): Returns the type
of the pin ghost.
- getPinSize(): Returns the size
of the pin ghost.
- getGhostBoundingBox(IlvTransformer):
Returns the bounding box of the ghost of the pins.
- New attributes:
- IlvPinSquare: The Square pin
type.
- IlvPinDiamond: The Diamond pin
type.
- IlvPinCircle: The Circle pin
type.
- IlvPinCross: The Cross pin type.
- IlvPinPlus: The Plus pin type.
- IlvPinFilledSquare: The Filled
Square pin type.
- IlvPinFilledCircle: The Filled
Circle pin type.
- IlvPinFilledDiamond: The Filled
Diamond pin type.
- IlvPinTriangle: The Triangle pin
type.
- IlvPinFilledTriangle: The Filled
Triangle pin type.
ilog.views.IlvPolyPointsEdition
- New methods:
- setOpaqueMode(boolean): Sets the
interactor in Opaque mode.
- isOpaqueMode(): Returns whether
the interactor is in Opaque mode or not.
- Modified behavior:
- handleButtonDown(IlvPolyPointsSelection sel,
MouseEvent event, IlvObjectInteractorContext context): Moves
a point of the polypoint object only if the method allowsPointMove
of the polypoint returns
true
.
ilog.views.java2d.IlvRadialGradientPaint
- New constructors:
- IlvRadialGradientPaint(Point2D, float,
float[], Color[], short, boolean): Builds a circular
IlvRadialGradientPaint instance.
- IlvRadialGradientPaint(float, float, float,
float[], Color[], short, boolean): Builds a circular
IlvRadialGradientPaint instance.
- IlvRadialGradientPaint(float, float, float,
float[], Color[], float, float, short, boolean): Builds a
circular IlvRadialGradientPaint instance.
- IlvRadialGradientPaint(Point2D, float,
float[], Color[], Point2D, short, boolean): Builds a
circular IlvRadialGradientPaint instance.
- IlvRadialGradientPaint(Point2D, float,
float[], Color[], Point2D, short, short, AffineTransform, boolean):
Builds a circular IlvRadialGradientPaint instance.
ilog.views.IlvReshapeSelection
- New methods:
- getBoundingBox(IlvGraphic, IlvTransformer):
Returns the rectangle that defines the bounds of the graphic object.
- setOpaqueMode(boolean): Sets the
interactor in Opaque mode.
- isOpaqueMode(): Returns whether
the interactor is in Opaque mode or not.
ilog.views.interactor.IlvRotateInteractor
- New methods:
- setOpaqueMode(boolean): Sets the
interactor in Opaque mode.
- isOpaqueMode(): Returns whether
the interactor is in Opaque mode or not.
ilog.views.interactor.IlvSelectInteractor
- New methods:
- setOpaqueDragSelection(boolean):
Sets the interactor in Opaque Multiple Selection mode.
- isOpaqueDragSelection(): Returns
whether the interactor is in Opaque Multiple Selection mode or
not.
- setOpaqueResize(boolean): Sets
the interactor in Opaque Resize mode.
- isOpaqueResize(): Returns
whether the interactor is in Opaque Resize mode or not.
- setOpaquePolyPointsEdition(boolean):
Sets the interactor in Opaque PolyPoints Edition mode.
- isOpaquePolyPointsEdition():
Returns whether the interactor is in Opaque PolyPoints Edition
mode or not.
- isSelectionMovable(IlvManager):
This method is called by the interactor to test if at least one of the
selected objects of the specified manager is movable.
- getMoveSelectionManager():
Returns the manager that contains the selected objects to be moved.
- setMultipleSelectionModifier(int):
Sets the multiple selection modifier.
- getMultipleSelectionModifier():
Returns the multiple selection modifier.
- setSelectionModifier(int): Sets
the selection modifier.
- getSelectionModifier(): Returns
the selection modifier.
- isSelectionModifierDown(MouseEvent):
Tests if the selection modifier is currently down.
ilog.views.IlvSelection
- New methods:
- isOptimizedDrawingEnabled():
Allows or disables optimization for drawing a selection
object and its selected object.
ilog.views.IlvTransformer
- New methods:
- postCompose(IlvTransformer):
Computes the composition of two transformers.
ilog.views.IlvUtil
- New methods:
- GetLineIntersection(IlvPoint, IlvPoint,
IlvPoint, IlvPoint, IlvPoint): Returns the intersection
point between two lines.
- GetLineIntersection(double, double, double,
double, double, double, double, double, IlvPoint): Returns
the intersection point between two lines.
- registerKey(String): Registers a
run-time license key.
ilog.views.interactor.IlvZoomViewInteractor
- New methods:
- isPermanent(): Returns
true
if the interactor operates in permanent mode; false
otherwise.
- setPermanent(boolean): Changes
the mode of the interactor.
ilog.views.graphic.IlvZoomableLabel
- New methods:
- isFractionalMetrics(): Returns
true
if the fractional metrics mode of the label is on.
- setFractionalMetrics(boolean):
Changes the fractional metrics mode of the label.
- getBackgroundPaint():
Returns the paint object to fill the background.
- setBackgroundPaint():
Changes the paint object to fill the background.
- isBackgroundOn():
Returns
true
if the background is filled.
- setBackgroundOn(boolean):
Sets whether the background is filled.
- isBorderOn():
Returns
true
if the border is stroked.
- setBorderOn(boolean):
Sets whether the border is stroked.
- getLeftMargin():
Returns the left margin if drawn with a background or border.
- setLeftMargin(float):
Sets the left margin if drawn with a background or border.
- getRightMargin():
Returns the right margin if drawn with a background or border.
- setRightMargin(float):
Sets the right margin if drawn with a background or border.
- getTopMargin():
Returns the top margin if drawn with a background or border.
- setTopMargin(float):
Sets the top margin if drawn with a background or border.
- getBottomMargin():
Returns the bottom margin if drawn with a background or border.
- setBottomMargin(float):
Sets the bottom margin if drawn with a background or border.
- getJustification():
Returns the justification of multiline text.
- setJustification(int):
Sets the justification of multiline text.
- getMultilineSpacing():
Returns the spacing of multiline text.
- setMultilineSpacing(float):
Sets the spacing of multiline text.
- Modified behavior:
- supportMultiline():
Returns
true
since this object supports multiline text.
ilog.views.svg.SVGDocumentBuilder
- New methods:
- buildSVGElement(SVGDocument, IlvManager):
Creates and fills an
SVGDocument
with sub SVGElement
instances translated from the graphic objects of the IlvManager.
ilog.views.svg.SVGDocumentBuilderConfigurator
- New methods:
- getTranslator(String): Returns
the
GraphicTranslator
that will be used to translate the IlvGraphic
instances of class className
.
- putTranslator(String,
SVGDocumentBuilderConfigurator.GraphicTranslator): Allows
you to specialize the generation for a particular IlvGraphic
class by registering the
GraphicTranslator
.
- setRealToStringConverter(SVGDocumentBuilderConfigurator.RealToStringConverter):
Allows you to set the way real numbers are converted to
String
.
- getRealToStringConverter():
Returns the object that defines how real numbers are converted to
String
.
ilog.views.svg.dom.SVGUtil
- New methods:
- createSVGDocument(SVGDocumentBuilderConfigurator.RealToStringConverter):
Returns an implementation instance of the
SVGDocument
interface.
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:
- Added support for nested managers in Composer.
- Added PNG support in the export as Bitmap command.
- Added an Arrange submenu in the Edit menu.
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.