Release Notes |
This document describes the main changes that have been made to JViews Framework since version 8.0.
Incompatibilities
General Changes
Library Changes
New Packages
Note that classes and interfaces in new packages are not listed here.
ilog.views.IlvHoverHighlightingImageOperation
ilog.views.event.GraphicBagHierarchyEvent
ilog.views.event.GraphicBagHierarchyEventReceiver
ilog.views.event.ManagerViewsHierarchyEventReceiver
ilog.views.event.GraphicBagHierarchyListener
ilog.views.event.ManagerContentAboutToChangeEvent
ilog.views.event.ManagerContentMonitor
ilog.views.event.adapter.IlvManagerSelectionDispatcher
ilog.views.graphic.IlvGraphicSet.DelegateObjectInteractor
ilog.views.graphic.IlvSplineEdition
ilog.views.graphic.IlvSplineLinkEdition
ilog.views.graphic.IlvSplineLinkSelection
ilog.views.svg.SVGDefaultGraphicFactory
ilog.views.svg.SVGGraphicFactory
ilog.views.symbology.palettes.IlvPaletteDocumentation
ilog.views.symbology.palettes.swing.IlvPaletteManagerCollapsibleTreeViewer
ilog.views.util.IlvClassLoaderUtil
ilog.views.util.IlvResourceUtil
ilog.views.util.IlvRuntimeException
ilog.views.util.collections.IlvBreadthFirstIterator
ilog.views.util.data.IlvCSVTableModel
ilog.views.util.swing.IlvEventUtil
ilog.views.util.swing.IlvExpensiveDrawingRepaintManager
ilog.views.util.swing.IlvJSplitPane
ilog.views.util.swing.layout.IlvGridFlowLayout
Example Changes
ilog.views.IlvGraphic
ilog.views.IlvGraphicUtil
ilog.views.IlvIndexedSet
ilog.views.IlvLinkImage
ilog.views.IlvManager
ilog.views.IlvManagerLayer
ilog.views.IlvManagerView
ilog.views.IlvObjectInteractor
ilog.views.IlvPolyPointsEdition
ilog.views.IlvUtil
ilog.views.appframe.IlvAction
ilog.views.appframe.IlvApplication
ilog.views.appframe.swing.IlvToolBar
ilog.views.faces.IlvFrameworkConstants
ilog.views.faces.component.IlvFacesView
ilog.views.faces.dhtml.IlvDHTMLConstants
ilog.views.faces.dhtml.component.IlvFacesDHTMLView
ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer
ilog.views.faces.dhtml.renderkit.IlvScriptDescriptor
ilog.views.faces.dhtml.renderkit.IlvScriptManager
ilog.views.faces.dhtml.taglib.IlvFacesSelectionManagerTag
ilog.views.faces.dhtml.taglib.IlvFacesViewTag
ilog.views.graphic.IlvArc
ilog.views.graphic.IlvDefaultCollapsedGraphic
ilog.views.graphic.IlvEllipse
ilog.views.graphic.IlvEnhancedPolylineLinkImage
ilog.views.graphic.IlvFixedSizeGraphic
ilog.views.graphic.IlvFullZoomingGraphic
ilog.views.graphic.IlvGeneralPath
ilog.views.graphic.IlvGraphicHandle
ilog.views.graphic.IlvGraphicHandleBag
ilog.views.graphic.IlvGraphicHandleInteractor
ilog.views.graphic.IlvGraphicPath
ilog.views.graphic.IlvGraphicSet
ilog.views.graphic.IlvHalfZoomingGraphic
ilog.views.graphic.IlvPolygon
ilog.views.graphic.IlvPolyline
ilog.views.graphic.IlvRectangle
ilog.views.graphic.IlvSpline
ilog.views.graphic.IlvSplineLinkImage
ilog.views.graphic.IlvSplineSelection
ilog.views.graphic.IlvText
ilog.views.graphic.IlvText.Editor
ilog.views.graphic.IlvTransformedGraphic
ilog.views.graphic.IlvZoomableLabel
ilog.views.graphic.composite.IlvCompositeGraphic
ilog.views.graphic.composite.IlvCompositeLink
ilog.views.graphic.composite.IlvEventMap
ilog.views.graphic.linkpolicy.IlvAbstractCrossingGraphic
ilog.views.graphic.linkpolicy.IlvCrossingAwareLinkImage
ilog.views.io.IlvInputStream
ilog.views.linkconnector.IlvClippingUtil
ilog.views.linkconnector.IlvFreeLinkConnector
ilog.views.objectinteractor.IlvTextEditor
ilog.views.prototypes.IlvFileValueException
ilog.views.servlet.IlvManagerServlet
ilog.views.servlet.IlvManagerServletSupport
ilog.views.svg.SVGDocumentReaderConfigurator
ilog.views.svg.SVGInputStream
ilog.views.swing.IlvJComponentGraphic
ilog.views.swing.IlvJManagerViewControlBar
ilog.views.symbology.IlvSymbolDescriptor
ilog.views.symbology.interactor.IlvSymbolInteractor
ilog.views.symbology.palettes.IlvPaletteCategory
ilog.views.symbology.palettes.IlvPaletteManager
ilog.views.symbology.palettes.event.PaletteViewerAdapter
ilog.views.symbology.palettes.event.PaletteViewerListener
ilog.views.symbology.palettes.swing.IlvPaletteDocumentationDialog
ilog.views.symbology.palettes.swing.IlvPaletteDragAndDropData
ilog.views.symbology.palettes.swing.IlvPaletteManagerComboboxViewer
ilog.views.symbology.palettes.swing.IlvPaletteManagerTabbedViewer
ilog.views.symbology.palettes.swing.IlvPaletteObjectTransferable
ilog.views.symbology.palettes.swing.IlvPaletteTreeViewer
ilog.views.util.servlet.IlvSelectionSupport
ilog.views.util.servlet.IlvSelectionSupport.IlvSelectionResponse
ilog.views.util.styling.IlvMutableStyleSheet
ilog.views.util.swing.IlvSwingUtil
ilog.views.util.swing.SwingFactories
ilog.views.util.text.IlvAttributedStringUtil
IlvGraphic.copy()
used to return
null
for all link subclasses
(IlvLinkImage
and its subclasses). This is no longer the case.
For all predefined subclasses, it returns now a copy of the link. IlvManager.read(...)
now returns a Boolean value which indicates
whether it is binary or IVL data. In the previous releases, the method was returning void.IlvGraphic.isInApplyToObject()
is now
final
.IlvMenuItem.prototype.setPreferredIconSize
method was removed. We are now able to compute the icon size in all supported browsers, so this method is useless.ilvDispose
global method has been replaced by the static method IlvObject.callDispose
fixDate
global method has been removed as it was needed only to workaround a bug in an old Web browser.ilvImagePath
global variable has been scoped in IlvConstants.ilvImagePath
IlvDHTMUtil.writeJSBodyEventHandler
method has been removed.IlvManagerServlet
now take "json" not "html" as format.
Additional capabilities must now be stream as JSON not JavaScript.IlvSelectionSupport.getCapabilities
now returns a Map
.IlvSelectionResponse.getUpdatedCapablities
now returns a Map
.ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer.emitResolvedDependencies
has now 2 arguments.IlvGraphic
class can now implement
via getIntersectionWithOutline
the way
links are clipped against the border of the node when the
IlvClippingLinkConnector
is used.
IlvClassLoaderUtil
, to ensure JViews
will find them, despite the fact they are not all reachable from a
single classloader.
ilog.views.util.swt
).IlvResourceUtil
class.
This class allows you to configure applets so that they no longer
try to load unsuccessfully over the net resources for locale bundles
that do not exist. This speeds up the startup time
of applets that run in browsers with a different locale than
the locales provided by the applet.
ManagerContentAboutToChangeEvent
is fired before a change happens on a graphic object.GraphicBagHierarchyEvent
is fired when the hierarchy of nested managers changes
(that is, if an ancestor of the graphic object changed got
removed or inserted at a graphic bag). ManagerViewsChangedEvent
are propagated to graphic objects that implement the
ManagerViewsHierarchyEventReceiver
interface, so that these objects get notified whenever a
view displaying the object is added or removed.
IlvSpline
, IlvSplineLinkImage
and so on).IlvManagerView
can now cache manager layers. This technique can
dramatically improve rendering performance especially when layers have static graphic objects.IlvText
supports now outlined texts.This package contains utility classes for integrating JViews components into Eclipse/RCP applications (the SWT windowing system).
ilog.views.IlvHoverHighlightingImageOperation
The hover highlighting image operation allows you to highlight a graphic object when the mouse hovers on it.
ilog.views.event.GraphicBagHierarchyEvent
A
GraphicBagHierarchyEvent
event is fired when the hierarchy of graphic bags changed.
ilog.views.event.GraphicBagHierarchyEventReceiver
Objects that can receive graphic bag hierarchy events should implement this interface.
ilog.views.event.GraphicBagHierarchyListener
The listener interface for receiving changed events related to the hierarchy of graphic bags.
ilog.views.event.ManagerViewsHierarchyEventReceiver
Objects that can receive manager views changed events through the entire hierarchy of nested managers should implement this interface.
ilog.views.event.ManagerContentAboutToChangeEvent
A
ManagerContentAboutToChangeEvent
event is fired by the manager before a graphic object is changed or deleted.
ilog.views.event.ManagerContentMonitor
A listener that listens events of type
ManagerContentAboutToChangeEvent
in addition to events of typeManagerContentChangedEvent
.
ilog.views.event.adapter.IlvManagerSelectionDispatcher
An abstract dispatcher class for receiving manager selection events and dispatching them to the graphic objects whose selection changed.
ilog.views.graphic.IlvGraphicSet.DelegateObjectInteractor
A delegating interactor for
IlvGraphicSet
objects.
ilog.views.graphic.IlvSplineEdition
An object interactor used to edit
IlvSpline
objects.
ilog.views.graphic.IlvSplineLinkEdition
An object interactor used to edit
IlvSplineLinkImage
objects.
ilog.views.graphic.IlvSplineLinkSelection
Selection object on an
IlvSplineLinkImage
.
ilog.views.svg.SVGDefaultGraphicFactory
The default implementation of the
SVGGraphicFactory
.
ilog.views.svg.SVGGraphicFactory
This factory is in charge of the creation of the graphic objects for the SVG reader.
ilog.views.symbology.palettes.IlvPaletteDocumentation
Creates the documentation for a palette or for a set of symbols.
ilog.views.symbology.palettes.swing.IlvPaletteManagerCollapsibleTreeViewer
This class provides a GUI to display and manage the palettes contained in a palette manager.
ilog.views.util.IlvClassLoaderUtil
Utilities for registering class loaders and for looking up classes and resources.
ilog.views.util.IlvResourceUtil
Utilities for resource bundles.
ilog.views.util.IlvRuntimeException
A simple
RuntimeException
extension that allows a checked exception to be wrapped and rethrown as an unchecked exception. The stack frames inside the exception are simplified for better clarity.
ilog.views.util.collections.IlvBreadthFirstIterator
IlvBreadthFirstIterator
is an abstract class that provides traversal over a generic tree structure of objects in breadth first order.
ilog.views.util.data.IlvCSVTableModel
This class represents a table model as returned by the
IlvCSVReader
.
ilog.views.util.swing.IlvEventUtil
Utilities for event masks.
ilog.views.util.swing.IlvExpensiveDrawingRepaintManager
A repaint manager optimized for expensive drawing.
ilog.views.util.swing.IlvJSplitPane
This class is a variant of the Swing
JSplitPane
for which thesetDividerLocation
call has an effect even if called early, before the component is validated.
ilog.views.util.swing.layout.IlvGridFlowLayout
IlvGridFlowLayout
is an extension ofGridLayout
that lays out a container's components in a rectangular grid.
IlvGraphic
class can now implement
via getIntersectionWithOutline
the way
links are clipped against the border of the node.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
setInApplyToObject(boolean)
:
Sets whether this graphic object is currently treated inside a call to applyToObject
.
GetAutoSmoothSpline(IlvPoint[], int, boolean, IlvPoint[], int[], int[])
:
Returns an array of IlvPoint
s for a smooth spline from an array of IlvPoint
s of user control points.
GetPolyPoints(IlvPolyPointsInterface, IlvTransformer)
:
Returns the points of a polypoint.
GetSmoothSplineBendFromHandle(int, IlvPoint, IlvPoint[], int, float, boolean)
:
Returns the used control point from the handle position on a smooth spline.
GetSmoothSplineHandleFromBend(int, IlvPoint[], int, float, boolean)
:
Returns a position on a smooth spline that can be used as selection handle points on the spline.
GetSmoothSplineHandlesFromBends(IlvPoint[], int, float, boolean, IlvPoint[])
:
Returns an array of IlvPoint
s for a smooth spline that can be used as selection handle points on the spline.
AUTO_SMOOTHNESS
:
Smoothness value for splines.
collectObjects(IlvPoint, IlvPoint, IlvTransformer, IlvGraphicVector)
:
Collects all visible objects at a specified location.
getObject(int)
:
Returns the object at the input index.
getSubsequentRemoveThreshold()
:
Returns the threshold for optimized remove operations.
setSubsequentRemoveThreshold(long)
:
Sets the threshold when to use optimized remove operations.
isSpline()
:
Returns true if the link has spline routing functionality.
addGraphicBagHierarchyListener(GraphicBagHierarchyListener)
:
Adds the specified listener to receive events from the ancestor managers and from this manager when the hierarchy of managers has changed.
addManagerViewsHierarchyListener(ManagerViewsChangedListener)
:
Adds the specified listener to receive events from this manager or ancestor managers when a view displaying the content of the manager is added or removed.
duplicateSelections(float, float, IlvTransformer, boolean)
:
Duplicates the selected objects.
enableGraphicBagHierarchyEventForwarding()
:
Enables forwarding of
GraphicBagHierarchyEvent
events, since the objects contained in this manager need to receive the events.
enableManagerViewsHierarchyEventForwarding()
:
Enables forwarding of
ManagerViewsChangedEvent
events through the nesting hierarchy, since the subobjects contained in this manager need to receive the events.
fireGraphicBagHierarchyEvent(GraphicBagHierarchyEvent)
:
Fires a graphic bag hierarchy event to this manager and all contained objects.
fireManagerViewsHierarchyEvent(ManagerViewsChangedEvent)
:
Fires a
ManagerViewsChangedEvent
event to all listeners installed via
addManagerViewsHierarchyListener
on this manager or contained objects.
getAllObjects(IlvPoint, int, IlvManagerView)
:
Returns all visible graphic objects located at the specified point in a manager view for a specified layer.
getAllObjects(IlvPoint, IlvManagerView, boolean, boolean)
:
Returns all visible graphic objects located at the specified point in a manager view.
getHoverHighlightingImageOperation()
:
Returns the hover highlighting image operation or null
if none is set on this manager.
setHoverHighlightingImageOperation(IlvHoverHighlightingImageOperation)
:
Sets the hover highlighting image operation.
getHoverHighlightingMode()
:
Returns the highlight modes.
setHoverHighlightingMode(int)
:
Sets one of the predefined highlighting modes.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
getOptimizedLayerThreshold()
:
Returns the threshold for optimized layer operations.
setOptimizedLayerThreshold(long)
:
Sets the threshold when to use optimized layer operations.
needsGraphicBagHierarchyEvent()
:
Returns whether this manager needs to receive
GraphicBagHierarchyEvent
events, either from itself or from its ancestors.
needsManagerViewsHierarchyEvent()
:
Returns whether the manager needs to receive
ManagerViewsChangedEvent
events, either from itself or from its ancestors.
processHoverHighlightingEvent(AWTEvent, IlvManagerView)
:
Handles the hover highlighting events in the specified view of the manager.
removeGraphicBagHierarchyListener(GraphicBagHierarchyListener)
:
Removes the specified listener so that it no longer receives events from ancestor manager and from this manager when the hierarchy of managers has changed.
removeManagerViewsHierarchyListener(ManagerViewsChangedListener)
:
Removes the specified listener so that it no longer receives events from ancestors and from this manager when a manager view was added or removed.
HH_BLUR
:
The "Blur" mode for hover highlighting in
setHoverHighlightingMode(int)
.
HH_BRIGHTEN
:
The "Brighten" mode for hover highlighting in
setHoverHighlightingMode(int)
.
HH_CUSTOM
:
Indicates a custom mode for hover highlighting when returned by
getHoverHighlightingMode()
.
HH_GRAYSCALE
:
The "Gray scale" mode for hover highlighting in
setHoverHighlightingMode(int)
.
HH_INVERT_COLORS
:
The "Invert Colors" mode for hover highlighting in *
setHoverHighlightingMode(int)
.
HH_NONE
:
Constant to indicate deactivation of the hover highlighting in
setHoverHighlightingMode(int)
.
HH_SHARPEN
:
The "Sharpen" mode for hover highlighting in
setHoverHighlightingMode(int)
.
drawImpl(Graphics, IlvManagerView)
:
Draws the layer in a view of a manager.
invalidateTripleBuffer(IlvRect, boolean)
:
Invalidates partially the triple buffer.
isLayerCached(int)
:
Tells whether the specified layer is cached for this view.
setLayerCached(int, boolean)
:
Enables or disables the cache on a specified manager layer.
ilog.views.IlvObjectInteractor
Put(String, IlvObjectInteractor)
:
Registers an object interactor.
ilog.views.IlvPolyPointsEdition
allowsPointInsertion(IlvPolyPointsInterface)
:
Returns whether it is allowed to insert a point into the input object.
allowsPointMove(IlvPolyPointsInterface, int)
:
Returns whether it is allowed to move the point of the input object.
allowsPointRemoval(IlvPolyPointsInterface)
:
Returns whether it is allowed to remove a point into the input object.
getAddRemovePointModifier()
:
Returns the modifier for the addition or removal of points.
setAddRemovePointModifier(int)
:
Sets the modifier for the addition and removal of points.
getAddRemovePointModifierEx()
:
Returns the extended modifier for the addition or removal of points.
isAddRemovePointModifierDown(InputEvent)
:
Tests if the mouse event modifier for the addition or removal of points is currently down.
GetHeadlessScreenResolution()
:
Returns the screen resolution used in headless mode.
SetHeadlessScreenResolution(int)
:
Changes the screen resolution used in headless mode as a replacement of Toolkit.getDefaultToolkit().getScreenResolution()
by classes and methods that need to compute dimensions on the screen.
RegisterActionInGroup(Action, Component)
:
Register the component that represents the given action in the action group, if this is in the action configuration.
UnregisterActionInGroup(Component)
:
Removes the given component from the action group.
ilog.views.appframe.IlvApplication
isValidDocumentFile(String)
:
Returns if the given pathname corresponds to a file that is accepted by this application.
ilog.views.appframe.swing.IlvToolBar
getUndockedTitle()
:
Returns the undocked title of the toolbar.
setUndockedTitle(String)
:
Sets the undocked title of the toolbar.
ilog.views.faces.IlvFrameworkConstants
CONSTRAINED_ON_CONTENTS
:
The free mode property.
MIN_ZOOM_LEVEL
:
The minimum zoom level authorized.
ilog.views.faces.component.IlvFacesView
getMinZoomLevel()
:
Returns the minimum zoom level of the view when the zoom is free.
setMinZoomLevel(double)
:
Sets the minimum zoom level.
isConstrainedOnContents()
:
Returns whether the view is constrained to the manager content bounds or not.
setConstrainedOnContents(boolean)
:
Defines whether the view is constrained to the manager content bounds or not.
MIN_ZOOM_DEFAULT_VALUE
:
The minimum zoom level.
ilog.views.faces.dhtml.IlvDHTMLConstants
SESSION_EXP_HANDLER
:
The JavaScript code that will be called when the session is about to expire.
ilog.views.faces.dhtml.component.IlvFacesDHTMLView
getBeforeSessionExpirationHandler()
:
Returns the JavaScript code that will be called when the session is about to expire.
setBeforeSessionExpirationHandler(String)
:
Sets the JavaScript code that will be called when the session is about to expire.
ilog.views.faces.dhtml.renderkit.IlvDHTMLRenderer
emitResolvedDependencies(ResponseWriter, UIComponent)
:
Emits the JavaScript of the dependencies that have been resolved by the creation of the component that is currently rendered.
ilog.views.faces.dhtml.renderkit.IlvScriptDescriptor
addJSCodeAfterImport(IlvScriptManager, ResponseWriter)
:
Renders optional static JavaScript code to customize the imported scripts.
addJSCodeBeforeImport(IlvScriptManager, ResponseWriter)
:
Renders optional static JavaScript code to customize the imported scripts.
ilog.views.faces.dhtml.renderkit.IlvScriptManager
addScript(String)
:
Adds a script that must be loaded before creating the component JavaScript object.
emitScriptToLoad(IlvScriptDescriptor)
:
Adds a script descriptor that must be loaded before creating the component JavaScript object.
render(ResponseWriter)
:
Renders the HTML code to import the needed scripts at this specific place of the page.
BUNDLES
:
The script bundles used in the DHTML rendering of the JViews JSF components.
ilog.views.faces.dhtml.taglib.IlvFacesSelectionManagerTag
getFillOn()
:
Returns true
when selection rectangles are filled.
ilog.views.faces.dhtml.taglib.IlvFacesViewTag
getBeforeSessionExpirationHandler()
:
Returns the JavaScript code that will be called when the session is about to expire.
setBeforeSessionExpirationHandler(String)
:
Sets the JavaScript code that will be called when the session is about to expire.
getConstrainedOnContents()
:
Returns whether the view is constrained to the manager content bounds or not.
setConstrainedOnContents(String)
:
Defines whether the view is constrained to the manager content bounds or not.
getMinZoomLevel()
:
Returns the minimum zoom level.
setMinZoomLevel(String)
:
Sets the minimum zoom level.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvDefaultCollapsedGraphic
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvEnhancedPolylineLinkImage
drawCore(Graphics2D, IlvTransformer)
:
Draws the object.
getAlpha()
:
Returns the alpha value of this object.
setAlpha(float)
:
Changes the alpha value of this object.
isAlphaBufferEnabled()
:
Returns true
if an additional buffer is used to draw the object when the alpha composition value is not 1.0.
setAlphaBufferEnabled(boolean)
:
Sets whether an additional buffer is used to draw the object when the alpha composition value is not 1.0.
ilog.views.graphic.IlvFixedSizeGraphic
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvFullZoomingGraphic
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
isDelegateObjectInteractor(IlvObjectInteractor)
:
Tests whether the input object interactor is the delegate interactor suitable for this class.
notifyObjectInteractorToManager(IlvObjectInteractor)
:
Notifies the manager that the object interactor has changed.
setGraphicBag(IlvGraphicBag)
:
Changes the bag that contains the object.
DELEGATE_INTERACTOR
:
The delegate interactor for IlvFullZoomingGraphic
objects.
ilog.views.graphic.IlvGeneralPath
calcBoundingBox(IlvTransformer)
:
Calculates the bounding rectangle of the object.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvGraphicHandle
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvGraphicHandleBag
addGraphicBagHierarchyListener(GraphicBagHierarchyListener)
:
Adds the specified listener to receive events from the ancestor managers and ancestor graphic sets and from this handle when the hierarchy of graphic bags has changed.
addManagerViewsHierarchyListener(ManagerViewsChangedListener)
:
Adds the specified listener to receive events from the owning manager of this object and from its ancestors when a manager view was added or removed.
enableGraphicBagHierarchyEventForwarding()
:
Enables forwarding of
GraphicBagHierarchyEvent
events, since the objects contained in this graphic handle bag need to receive the events.
enableManagerViewsHierarchyEventForwarding()
:
Enables forwarding of
ManagerViewsChangedEvent
events through the nesting hierarchy, since the objects contained in this graphic handle bag need to receive the events.
fireGraphicBagHierarchyEvent(GraphicBagHierarchyEvent)
:
Fires a graphic bag hierarchy event to this graphic handle bag and all contained objects.
fireManagerViewsHierarchyEvent(ManagerViewsChangedEvent)
:
Fires a
ManagerViewsChangedEvent
event to all listeners installed via
addManagerViewsHierarchyListener
on this graphic set or contained objects.
isDelegateObjectInteractor(IlvObjectInteractor)
:
Tests whether the input object interactor is the delegate interactor suitable for this class.
needsGraphicBagHierarchyEvent()
:
Returns whether this object needs to receive
GraphicBagHierarchyEvent
events, either from itself or from its ancestors.
needsManagerViewsHierarchyEvent()
:
Returns whether the graphic handle bag needs to receive
ManagerViewsChangedEvent
events, either from its owning manager or from its ancestors.
notifyObjectInteractorToManager(IlvObjectInteractor)
:
Notifies the manager that the object interactor has changed.
removeGraphicBagHierarchyListener(GraphicBagHierarchyListener)
:
Removes the specified listener so that it no longer receives events from ancestor manager and ancestor graphic sets and from this handle when the hierarchy of graphic bags has changed.
removeManagerViewsHierarchyListener(ManagerViewsChangedListener)
:
Removes the specified listener so that it no longer receives events from the owning manager of this object and from its ancestors when a manager view was added or removed.
ilog.views.graphic.IlvGraphicHandleInteractor
acceptObject(IlvGraphic)
:
Returns whether the interactor should deal with the object.
getVirtualToRealViewTransformer(IlvGraphic, IlvTransformer)
:
Returns the transformer that converts the virtual view coordinate system to the real view coordinate system.
getVirtualViewTransformer(IlvGraphic, IlvTransformer)
:
Returns the transformer that converts the manager coordinate system of the wrapped object into a virtual view coordinate system.
ilog.views.graphic.IlvGraphicPath
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
setPaths(IlvPoint[], boolean)
:
Sets the paths.
setPaths(IlvPointArray[], boolean)
:
Sets the paths.
ilog.views.graphic.IlvGraphicSet
addGraphicBagHierarchyListener(GraphicBagHierarchyListener)
:
Adds the specified listener to receive events from the ancestor managers and ancestor graphic sets and from this graphic set when the hierarchy of graphic bags has changed.
addManagerViewsHierarchyListener(ManagerViewsChangedListener)
:
Adds the specified listener to receive events from the owning manager of this object and from its ancestors when a manager view was added or removed.
drawCore(Graphics2D, IlvTransformer)
:
Draws the object.
enableGraphicBagHierarchyEventForwarding()
:
Enables forwarding of
GraphicBagHierarchyEvent
events, since the objects contained in this graphic set need to receive the events.
enableManagerViewsHierarchyEventForwarding()
:
Enables forwarding of
ManagerViewsChangedEvent
events through the nesting hierarchy, since the objects contained in this graphic set need to receive the events.
fireGraphicBagHierarchyEvent(GraphicBagHierarchyEvent)
:
Fires a graphic bag hierarchy event to this graphic set and all contained objects.
fireManagerViewsHierarchyEvent(ManagerViewsChangedEvent)
:
Fires a
ManagerViewsChangedEvent
event to all listeners installed via
addManagerViewsHierarchyListener
on this graphic set or contained objects.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
needsGraphicBagHierarchyEvent()
:
Returns whether this object needs to receive
GraphicBagHierarchyEvent
events, either from itself or from its ancestors.
needsManagerViewsHierarchyEvent()
:
Returns whether the graphic set needs to receive
ManagerViewsChangedEvent
events, either from its owning manager or from its ancestors.
removeGraphicBagHierarchyListener(GraphicBagHierarchyListener)
:
Removes the specified listener so that it no longer receives events from ancestor manager and ancestor graphic sets and from this graphic set when the hierarchy of graphic bags has changed.
removeManagerViewsHierarchyListener(ManagerViewsChangedListener)
:
Removes the specified listener so that it no longer receives events from the owning manager of this object and from its ancestors when a manager view was added or removed.
ilog.views.graphic.IlvHalfZoomingGraphic
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
isDelegateObjectInteractor(IlvObjectInteractor)
:
Tests whether the input object interactor is the delegate interactor suitable for this class.
isRotatable()
:
Returns true if the object supports rotation.
setRotatable(boolean)
:
Sets whether the object supports rotation.
notifyObjectInteractorToManager(IlvObjectInteractor)
:
Notifies the manager that the object interactor has changed.
setGraphicBag(IlvGraphicBag)
:
Changes the bag that contains the object.
DELEGATE_INTERACTOR
:
The delegate interactor for IlvHalfZoomingGraphic
objects.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvPolyline
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvRectangle
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvSplineLinkImage
isSpline()
:
Returns true if the link has spline routing functionality.
makeSelection()
:
Creates the selection object for this class.
ilog.views.graphic.IlvSplineSelection
IsHandlesOnSplineMode()
:
Returns whether the handles of the spline are on the spline.
IsShowTangentsMode()
:
Returns whether the spline tangents are shown additionally to the selection handles.
SetDefaultInteractor(String)
:
This method allows you to change the default interactor for instances of this class.
SetHandlesOnSplineMode(boolean)
:
Sets whether the handles of the spline are on the spline.
SetShowTangentsMode(boolean)
:
Sets whether the tangents are shown additionally to the selection handles.
afterLoopAllHandles()
:
This is called by this class after iterating over all handles and calling
getHandle
.
beforeLoopAllHandles(IlvTransformer)
:
This is called by this class before iterating over all handles and calling
getHandle
.
getDefaultInteractor()
:
Returns the class name of the interactor used to edit polypoints.
getSpline()
:
Returns the selected object.
IsTransformerDependentRendering()
:
Returns whether all IlvText
objects are rendered with a strategy that requires rerendering when the transformer changes.
SetTransformerDependentRendering(boolean)
:
Sets whether all IlvText
objects are rendered with a strategy that requires rerendering when the transformer changes.
getEffectiveAnchorPoint()
:
Returns the effective anchor point.
getOutlineColor()
:
Returns the outline color of the text.
setOutlineColor(Color)
:
Changes the outline color of the text.
getOutlineMode()
:
Returns the outline mode.
setOutlineMode(int)
:
Sets the outline mode.
getOutlineThickness()
:
Returns the outline thickness of the text.
setOutlineThickness(float)
:
Changes the outline thickness of the text.
getRotationAlignmentAngle()
:
Returns the rotation alignment angle.
setRotationAlignmentAngle(float)
:
Sets the rotation alignment angle.
getRotationAlignmentThresholdAngle()
:
Returns the threshold angle that decides whether a rotated multiline text object is aligned parallel to the rotation alignment axis, or perpendicular to the rotation alignment axis.
setRotationAlignmentThresholdAngle(float)
:
Sets the threshold angle that decides whether a rotated multiline text object is aligned parallel to the rotation alignment axis, or perpendicular to the rotation alignment axis.
OUTLINE_BACK
:
Outline mode that the text draws first its text and then its outline.
OUTLINE_DISABLED
:
Outline mode that the text does not draw its outline.
OUTLINE_FRONT
:
Outline mode that the text draws its outline after drawing its text.
OUTLINE_ONLY
:
Outline mode that the text draws only its outline.
ilog.views.graphic.IlvText.Editor
copySelection(IlvTextInterface, int, int)
:
Copies the region from the input text object to the clipboard.
replaceSelection(IlvTextInterface, int, int, AttributedString)
:
Replace the region from the input text object.
ilog.views.graphic.IlvTransformedGraphic
IlvGraphic
class can now implement
via getIntersectionWithOutline
the way
links are clipped against the border of the node.
The transformed graphic delegates the clipping to the contained
graphic.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
ilog.views.graphic.IlvZoomableLabel
IsTransformerDependentRendering()
:
Returns whether all IlvZoomableLabel
objects are rendered with a strategy that requires rerendering when the transformer changes.
SetTransformerDependentRendering(boolean)
:
Sets whether all IlvZoomableLabel
objects are rendered with a strategy that requires rerendering when the transformer changes.
ilog.views.graphic.composite.IlvCompositeGraphic
IlvClippingLinkConnector
is used.
drawCore(Graphics2D, IlvTransformer)
:
Draws the object.
getIntersectionWithOutline(IlvPoint, IlvPoint, IlvTransformer)
:
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
getLinkClippables()
:
Returns whether the clipping link connector clips again the children.
setLinkClippables(int, boolean)
:
Sets whether the clipping link connector clips again the child with the given index.
setLinkClippables(boolean[])
:
Sets whether the clipping link connector clips again the children.
getLinkClippables(int)
:
Returns whether the clipping link connector clips again the child with the given index.
isJViews80BoundingBoxCompatibility()
:
Returns whether the compatibility mode on how the bounding box of composite graphic objects are treated.
setJViews80BoundingBoxCompatibility(boolean)
:
Enables or disables the compatibility mode on how the bounding box of composite graphic objects are treated.
ilog.views.graphic.composite.IlvCompositeLink
IlvCompositeLink(IlvCompositeLink)
:
Creates an IlvCompositeLink
by copying an existing one.
drawCore(Graphics2D, IlvTransformer)
:
Draws the object.
getAlpha()
:
Returns the alpha value of this object.
setAlpha(float)
:
Changes the alpha value of this object.
getConstraints()
:
Returns the constraints of the children of this object.
setConstraints(Object[])
:
Sets the attachments for each child of this object.
isSpline()
:
Returns true
if the link has spline routing functionality.
ilog.views.graphic.composite.IlvEventMap
isEmpty()
:
Returns true
when this IlvEventMap
instance is empty.
ilog.views.graphic.linkpolicy.IlvAbstractCrossingGraphic
calcBoundingBoxOfLink(IlvTransformer)
:
Calculates the bounding box of the related link image.
ilog.views.graphic.linkpolicy.IlvCrossingAwareLinkImage
boundingBoxCacheContains(IlvTransformer)
:
Checks whether the input transformer is cached in the bounding box cache.
isASCIIMode()
:
Returns whether the stream is in ASCII mode.
ilog.views.linkconnector.IlvClippingUtil
IlvGraphic
class can now implement
via getIntersectionWithOutline
the way
links are clipped against the border of the node. Hence, some
utility methods were added to IlvClippingUtil
that helps to implement the most common cases.
getClippedPoint(IlvRect, IlvPoint, IlvPoint)
:
Returns the clipped point at the bounding box, assuming that the attach point is inside the bounding box, and the control point is outside that bounding box.
getClippedPoint(PathIterator, IlvTransformer, float, IlvPoint, IlvPoint)
:
Returns the clipped point, assuming that the attach point is inside the shape described by a shape iterator, and the control point is outside that shape.
ilog.views.linkconnector.IlvFreeLinkConnector
isConnectionPointMoveAllowed()
:
Tells whether the interactors are allowed to move the connection points of the links
connected to the node to which this link connector is attached.
setConnectionPointMoveAllowed(boolean)
:
Allows or forbids the interactors to move the connection points of the links connected to the node to which this link connector is attached.
ilog.views.objectinteractor.IlvTextEditor
copySelection(IlvTextInterface, int, int)
:
Copies the region from the input text object to the clipboard.
replaceSelection(IlvTextInterface, int, int, AttributedString)
:
Replace the region from the input text object.
ilog.views.prototypes.IlvFileValueException
IlvFileValueException()
:
Creates a new instance of IlvFileValueException
.
ilog.views.servlet.IlvManagerServlet
createServletSupport(ServletContext)
:
Returns a new instance of
IlvManagerServletSupport
.
getAdditionalCapabilities(HttpServletRequest)
:
Allows you to put additional capabilities to the capability request.
getServletSupport()
:
Returns the
IlvManagerServletSupport
instance.
ilog.views.servlet.IlvManagerServletSupport
encodeImage(BufferedImage, OutputStream, String)
:
This method performs the encoding of the BufferedImage
using the given image format.
getAdditionalCapabilities(HttpServletRequest)
:
Allows you to add more capabilities to the capability request.
getMinZoomLevel(HttpServletRequest, IlvManagerView)
:
Returns the minimum zoom level authorized by the servlet.
ilog.views.svg.SVGDocumentReaderConfigurator
SVGDocumentReaderConfigurator(SVGGraphicFactory)
:
Builds an SVGDocumentReaderConfigurator
instance using the specified graphic factory (SVGGraphicFactory
).
getGraphicFactory()
:
Returns the factory in charge of the creation of the graphic objects for the SVG reader.
setGraphicFactory(SVGGraphicFactory)
:
Sets the factory in charge of the creation of the graphic objects for the SVG reader.
getEntityResolver()
:
Returns the XML entity resolver for reading SVG files.
setEntityResolver(EntityResolver)
:
Sets the XML entity resolver for reading SVG files.
ilog.views.swing.IlvJComponentGraphic
getResizeComponentMode()
:
Returns the component-resize mode of this graphic object.
setResizeComponentMode(int)
:
Determines when the encapsulated JComponent
is resized.
setComponent(JComponent)
:
Replaces the JComponent
that is displayed by this IlvJComponentGraphic
.
RESIZE_COMPONENT_NEVER
:
The component-resize mode that specifies that the encapsulated JComponent
is not resized, except during this class constructor and during the
setComponent
method.
RESIZE_COMPONENT_ON_RESHAPE
:
The component-resize mode that specifies that the encapsulated JComponent
is resized every time this graphic object is reshaped or resized.
RESIZE_COMPONENT_ON_ZOOM
:
The component-resize mode that specifies that the encapsulated JComponent
is resized during the drawing, according to the zoom level.
ilog.views.swing.IlvJManagerViewControlBar
addActionButton(String, URL, ActionListener, String)
:
Adds a button that performs an action.
addInteractorButton(String, URL, IlvManagerViewInteractor, String)
:
Adds a button that controls an
IlvManagerViewInteractor
.
ilog.views.symbology.IlvSymbolDescriptor
init(String, String, String, String, ClassLoader, Map)
:
Initializes the descriptor.
ilog.views.symbology.interactor.IlvSymbolInteractor
getParameterType(IlvComposite)
:
Returns the parameter type of the parameter to modify.
ilog.views.symbology.palettes.IlvPaletteCategory
add(int, IlvPaletteObject)
:
Adds an object into the category at the specified position.
add(int, IlvPaletteSymbol)
:
Adds a symbol into the category at the specified position.
add(int, IlvPaletteCategory)
:
Adds a category into this category at the specified position.
indexOf(Object)
:
Returns the position of the child in the category.
ilog.views.symbology.palettes.IlvPaletteManager
getPalettesToUpdate(String)
:
Returns a list of palettes containing symbols referencing the given resource name as subsymbol.
updateSymbolReferences(ArrayList, String, String, String)
:
Update reference to a subsymbol with a new resource name, in a list of palettes.
ilog.views.symbology.palettes.event.PaletteViewerAdapter
categoryDeselected(PaletteViewerEvent)
:
Invoked when a category is deselected in the viewer.
symbolDeselected(PaletteViewerEvent)
:
Invoked when a symbol is deselected in the viewer.
ilog.views.symbology.palettes.event.PaletteViewerListener
categoryDeselected(PaletteViewerEvent)
:
Invoked when a category is deselected in the viewer.
symbolDeselected(PaletteViewerEvent)
:
Invoked when a symbol is deselected in the viewer.
ilog.views.symbology.palettes.swing.IlvPaletteDocumentationDialog
run(Component)
:
Displays the modal dialog centered relatively to the parent.
run(Component, IlvPalette, IlvPaletteObject[])
:
Create the documentation from selected palette or symbols and displays the modal dialog centered relatively to given parent.
ilog.views.symbology.palettes.swing.IlvPaletteDragAndDropData
IlvPaletteDragAndDropData(Collection, IlvPaletteViewer)
:
Creates a transfer data that contains several dropped objects
getPaletteObjects()
:
Returns a collection of objects that have been dropped.
ilog.views.symbology.palettes.swing.IlvPaletteManagerComboboxViewer
fireCategoryDeselected(PaletteViewerEvent)
:
Fires a PaletteViewerEvent
to the registered listeners, indicating that a category has been deselected.
fireSymbolDeselected(PaletteViewerEvent)
:
Fires a PaletteViewerEvent
to the registered listeners, indicating that a symbol has been deselected.
ilog.views.symbology.palettes.swing.IlvPaletteManagerTabbedViewer
fireCategoryDeselected(PaletteViewerEvent)
:
Fires a PaletteViewerEvent
to the registered listeners, indicating that a category has been deselected.
fireSymbolDeselected(PaletteViewerEvent)
:
Fires a PaletteViewerEvent
to the registered listeners, indicating that a symbol has been deselected.
isEditable()
:
Indicates if this viewer is editable or not.
setEditable(boolean)
:
Indicates if this viewer should be editable, meaning that symbols and categories can be added, removed, moved by drag and drop.
ilog.views.symbology.palettes.swing.IlvPaletteObjectTransferable
IlvPaletteObjectTransferable(Collection, IlvPaletteViewer)
:
Creates a transferable for several objects.
ilog.views.symbology.palettes.swing.IlvPaletteTreeViewer
addDropListener(PaletteDropListener)
:
Adds a listener that listens to drag-and-drop events.
fireCategoryDeselected(IlvPalette, IlvPaletteCategory)
:
Fires a PaletteViewerEvent
to the registered listeners, indicating that a category has been deselected.
fireObjectCopied(IlvPalette, IlvPalette, Collection)
:
Fires an event when copying objects into a palette using drag and drop.
fireObjectMoved(IlvPalette, IlvPalette, Collection)
:
Fires an event when moving objects into a palette using drag and drop.
fireSymbolDeselected(IlvPalette, IlvPaletteSymbol)
:
Fires a PaletteViewerEvent
to the registered listeners, indicating that a symbol has been deselected.
removeDropListener(PaletteDropListener)
:
Removed a listener that listens to drag-and-drop events.
ilog.views.util.servlet.IlvSelectionSupport
doGetDeselectAll(HttpServletRequest, IlvSelectionSupport.IlvSelectionResponse)
:
Attempts to deselect all the objects that are currently selected.
doGetSelectAll(HttpServletRequest, IlvSelectionSupport.IlvSelectionResponse)
:
Attempts to select all the selectable objects.
doGetSelectOneById(HttpServletRequest, IlvSelectionSupport.IlvSelectionResponse, String)
:
Clears the current selections and attempts to select the object with the specified identifier.
doGetSelectOneMultipleById(HttpServletRequest, IlvSelectionSupport.IlvSelectionResponse, String)
:
Attempts to extend the selection with the object with the specified identifier, if any.
ilog.views.util.servlet.IlvSelectionSupport.IlvSelectionResponse
addUpdatedCapability(String, Object)
:
Adds an updated capability to be processed by the client.
ilog.views.util.styling.IlvMutableStyleSheet
removeAllRules()
:
Removes all rules.
ilog.views.util.swing.IlvSwingUtil
createMultiLineToolTipText(String[], int)
:
Creates an HTML text string that will render lines as a multiline tooltip.
escapeForHTMLAttribute(String, boolean)
:
Converts a string to HTML syntax, for including in an HTML attribute.
escapeForHTMLElement(String, boolean)
:
Converts a string to HTML syntax, for including in an HTML element.
invokeAndWait(Runnable)
:
This method executes runnable.run() synchronously on the AWT event dispatching thread.
invokeAndWaitForIdle(Runnable)
:
This method executes runnable.run() synchronously on the AWT event dispatching thread.
ilog.views.util.swing.SwingFactories
javax.swing.JTextField
that
validates the editing also on focus lost.
createTextField(String)
:
Returns a subclass of javax.swing.JTextField
that validates the editing also on focus lost.
createTextField(Document, String, int)
:
Returns a subclass of javax.swing.JTextField
that validates the editing also on focus lost.
ilog.views.util.text.IlvAttributedStringUtil
getTransferable(AttributedString)
:
Returns a transferable for the attributed string.
ATTRIBUTED_STRING_FLAVOR
:
Data flavor for attributed string selections.
IlvText
) has been added. It can be found here.