ilog.views.graphic
Class IlvHalfZoomingGraphic

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.graphic.IlvGraphicHandle
          extended by ilog.views.graphic.IlvGraphicHandleBag
              extended by ilog.views.graphic.IlvFixedSizeGraphic
                  extended by ilog.views.graphic.IlvHalfZoomingGraphic
All Implemented Interfaces:
GraphicBagHierarchyEventReceiver, ManagerViewsHierarchyEventReceiver, IlvGraphicBag, IlvPersistentObject, Transferable, Serializable
Direct Known Subclasses:
IlvHalfZoomingGraphic, IlvHalfZoomingRenderer.HalfZoomingGraphic

public class IlvHalfZoomingGraphic
extends IlvFixedSizeGraphic

The class IlvHalfZoomingGraphic is a wrapper class that is used to prevent a graphic object from zooming above (or below) a given maximum (or minimum) zoom level.

This class is used like the class IlvFixedSizeGraphic: You create an instance of IlvHalfZoomingGraphic that wraps another graphic object.

The behavior of the IlvHalfZoomingGraphic object is controlled by two properties: a maximum zoom level and a minimum zoom level.

When the zoom of the manager view is greater than the maximum zoom, the IlvHalfZoomingGraphic object behaves like a fixed-size graphic: its size remains constant.

When the zoom of the manager view is less than the minimum zoom, the behavior depends on the value of the grayedWhenUnzoomed property.

Between minimum and maximum zoom levels, the IlvHalfZoomingGraphic object behaves just like the wrapped object: it zooms in and out normally.

You can also specify an initial zoom factor. The actual zoom factor of the view will be multiplied by this initial zoom for all transformer calculations. For example, if the initial zoom is 2, and the view's transformer is the identity, the object will behave as if the view was initially zoomed by a factor 2.

An additional feature is the alpha transparency support. If the alpha value is set below 1, the wrapped object is drawn in a transparent way even if the colors of the wrapped object are not set to transparent colors. This is useful if you want to add transparency to the entire wrapped object without changing all individual foreground, background and stroke colors of the wrapped object.

Since:
JViews 7.5
See Also:
Serialized Form

Field Summary
static IlvObjectInteractor DELEGATE_INTERACTOR
          The delegate interactor for IlvHalfZoomingGraphic objects.
 
Constructor Summary
IlvHalfZoomingGraphic(IlvGraphic object, int position, IlvPoint point, double minZoom, double maxZoom, double initialZoom)
          Creates a new half-zooming object that stops zooming when the zoom factor of the manager view exceeds a specified zoom level.
IlvHalfZoomingGraphic(IlvHalfZoomingGraphic source)
          Creates a new IlvHalfZoomingGraphic by copying an existing one.
IlvHalfZoomingGraphic(IlvInputStream stream)
          Reads the object from an IlvInputStream.
 
Method Summary
 void applyTransform(IlvTransformer t)
          Applies a transformation to the object.
 IlvRect boundingBox(IlvTransformer t)
          Returns the bounding rectangle of the object.
 IlvTransformer computeTransformer(IlvTransformer t)
          Computes the transformer used to draw this object based on the specified transformer.
 boolean contains(IlvPoint p, IlvPoint tp, IlvTransformer t)
          Tests whether a point lies within the outline of the object.
 IlvGraphic copy()
          Copies the object.
 void draw(Graphics dst, IlvTransformer t)
          Draws the object.
 float getAlpha()
          Returns the alpha value of this object.
 double getInitialZoom()
          Returns the initial zoom level.
 IlvPoint getIntersectionWithOutline(IlvPoint innerPoint, IlvPoint outerPoint, IlvTransformer t)
          Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object.
 double getMaxZoom()
          Returns the maximum zoom level above which the object stops zooming.
 double getMinZoom()
          Returns the minimum zoom level below which the object stops zooming.
 JPopupMenu getPopupMenu(IlvPoint p, IlvTransformer t, IlvManagerView view, IlvPopupMenuManager popupManager)
          Returns the Swing popup menu to display when the popup is triggered while the mouse pointer is at a specified location inside the graphic object.
protected  double getReferenceZoom()
          Returns the reference zoom.
 String getToolTipText(IlvPoint p, IlvTransformer t)
          Returns the tooltip text to display when the mouse pointer is at a specified location inside the graphic object.
 Color getUnzoomedBackground()
          Returns the background color used to fill the rectangle when the object is below the minimum zoom level.
 Color getUnzoomedForeground()
          Returns the foreground color used to draw the outline of the rectangle when the object is below the minimum zoom level.
 boolean inside(IlvRect rect, IlvRect trect, IlvTransformer t)
          Tests whether a rectangle contains the object.
 boolean intersects(IlvRect rect, IlvRect trect, IlvTransformer t)
          Tests whether a rectangle overlaps the object.
 boolean isAlphaBufferEnabled()
          Returns true if an additional buffer is used to draw the object when the alpha composition value is not 1.0.
 boolean isDelegateObjectInteractor(IlvObjectInteractor inter)
          Tests whether the input object interactor is the delegate interactor suitable for this class.
 boolean isGrayedWhenUnzoomed()
          Returns the flag specifying whether the object is drawn as a gray box when the zoom level is less than the minimum zoom, or if it is drawn at its minimum size.
 boolean isRotatable()
          Returns true if the object supports rotation.
 IlvSelection makeSelection()
          Creates the selection object for this class.
protected  void notifyObjectInteractorToManager(IlvObjectInteractor interactor)
          Notifies the manager that the object interactor has changed.
 void setAlpha(float alpha)
          Changes the alpha value of this object.
 void setAlphaBufferEnabled(boolean enable)
          Sets whether an additional buffer is used to draw the object when the alpha composition value is not 1.0.
 void setGraphicBag(IlvGraphicBag bag)
          Changes the bag that contains the object.
 void setGrayedWhenUnzoomed(boolean grayedWhenUnzoomed)
          Specifies whether the object is drawn as a gray box when the zoom level is less than the minimum zoom, or if it is drawn at its minimum size.
 void setInitialZoom(double initialZoom)
          Sets the initial zoom level.
 void setMaxZoom(double maxZoom)
          Sets the maximum zoom level above which the object stops zooming.
 void setMinZoom(double minZoom)
          Sets the minimum zoom level below which the object stops zooming.
 void setPoint(IlvPoint p)
          Changes the point that remains fixed.
 void setPosition(int position)
          Changes the position of the point that remains fixed.
 void setRotatable(boolean flag)
          Sets whether the object supports rotation.
 void setUnzoomedBackground(Color background)
          Sets the background color used to fill the rectangle when the object is below the minimum zoom level.
 void setUnzoomedForeground(Color foreground)
          Sets the foreground color used to draw the outline of the rectangle when the object is below the minimum zoom level.
protected  IlvRect unzoomedBBox()
          Returns the bounding box used when the object is drawn below the minimum zoom level.
 void write(IlvOutputStream stream)
          Writes the object to an IlvOutputStream.
 boolean zoomable()
          Returns true if this object is zoomable, and false otherwise.
 
Methods inherited from class ilog.views.graphic.IlvFixedSizeGraphic
getPoint, getPosition, resize, rotate
 
Methods inherited from class ilog.views.graphic.IlvGraphicHandleBag
addGraphicBagHierarchyListener, addManagerViewsHierarchyListener, addObject, applyToObject, enableGraphicBagHierarchyEventForwarding, enableManagerViewsHierarchyEventForwarding, fireGraphicBagHierarchyEvent, fireManagerViewsHierarchyEvent, getObject, getObjects, isOwner, moveObject, needsGraphicBagHierarchyEvent, needsManagerViewsHierarchyEvent, reDrawObj, reDrawRegion, removeGraphicBagHierarchyListener, removeManagerViewsHierarchyListener, removeObject, reshapeObject, setDelegateMoveResize, setObject, setObjectName
 
Methods inherited from class ilog.views.graphic.IlvGraphicHandle
getObject, getOriginalPopupMenu, isPersistent, move, move, moveResize, scale, setBackground, setForeground, setOwner, translate
 
Methods inherited from class ilog.views.IlvGraphic
addActionListener, addNamedPropertyListener, boundingBox, getAndAssociateObjectInteractor, getCenter, getDefaultInteractor, getGraphicBag, GetGraphicObject, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenuName, getProperty, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, hasProperty, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isSelectable, isVisible, processActionEvent, reDraw, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, setEditable, setFillOn, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipText, setVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ilog.views.IlvGraphicBag
getGraphicBag
 

Field Detail

DELEGATE_INTERACTOR

public static final IlvObjectInteractor DELEGATE_INTERACTOR
The delegate interactor for IlvHalfZoomingGraphic objects. Use this interactor as object interactor of the half-zooming object if the wrapped object has an object interactor. The delegate interactor forwards all events to the object interactor of the wrapped object.

The delegate interactor is always installed by default when an instance of IlvHalfZoomingGraphic is allocated. You can call IlvGraphic.setObjectInteractor(ilog.views.IlvObjectInteractor) to install a different object interactor (use a null argument to avoid the delegation to the object interactor of the child).

Since:
JViews 8.1
See Also:
IlvGraphic.setObjectInteractor(ilog.views.IlvObjectInteractor)
Constructor Detail

IlvHalfZoomingGraphic

public IlvHalfZoomingGraphic(IlvGraphic object,
                             int position,
                             IlvPoint point,
                             double minZoom,
                             double maxZoom,
                             double initialZoom)
Creates a new half-zooming object that stops zooming when the zoom factor of the manager view exceeds a specified zoom level.

Parameters:
object - The referenced object.
position - Indicates the point in the referenced object (for example, its center or the top-left corner of its bounding box) that must remain at the same position when the object is zoomed in or out. See the class IlvDirection for the valid values of this parameter.
point - If non-null it will be used to specify the position of a fixed point when the object is zoomed in or out. The position parameter is not taken into account if this parameter is non-null.
minZoom - Specifies the zoom level below which the object will be replaced by a gray box. A typical value for minZoom is 0.25.
maxZoom - Specifies the maximum zoom level above which the object will stop zooming. A typical value for maxZoom is 4.
initialZoom - Specifies the initial zoom level. The zoom factor of the view's transformer will be multiplied by this initial zoom level for all transformer calculations.

IlvHalfZoomingGraphic

public IlvHalfZoomingGraphic(IlvHalfZoomingGraphic source)
Creates a new IlvHalfZoomingGraphic by copying an existing one.

Parameters:
source - The source object to copy.

IlvHalfZoomingGraphic

public IlvHalfZoomingGraphic(IlvInputStream stream)
                      throws IlvReadFileException
Reads the object from an IlvInputStream.

Parameters:
stream - The input stream.
Throws:
IlvReadFileException - if the format is not correct.
Method Detail

copy

public IlvGraphic copy()
Copies the object. This method copies the object by calling the copy constructor.

Overrides:
copy in class IlvFixedSizeGraphic
Returns:
A copy of the object.
See Also:
IlvGraphicHandleBag.isOwner()

write

public void write(IlvOutputStream stream)
           throws IOException
Writes the object to an IlvOutputStream.

Specified by:
write in interface IlvPersistentObject
Overrides:
write in class IlvFixedSizeGraphic
Parameters:
stream - The output stream.
Throws:
IOException - thrown when an exception occurs during the write operation for this object.

setGraphicBag

public void setGraphicBag(IlvGraphicBag bag)
Changes the bag that contains the object. For example, this method is used when the object is added to, or removed from, an IlvGraphicBag such as an IlvManager. You should not call this method directly unless you are creating a new type of bag.

Overrides:
setGraphicBag in class IlvGraphicHandleBag
Parameters:
bag - The graphic bag.
Since:
JViews 8.1
See Also:
IlvGraphic

setPosition

public final void setPosition(int position)
Changes the position of the point that remains fixed.

Overrides:
setPosition in class IlvFixedSizeGraphic
Parameters:
position - See the class IlvConstants for the valid values of this parameter.
See Also:
IlvFixedSizeGraphic.getPosition(), IlvConstants

setPoint

public final void setPoint(IlvPoint p)
Changes the point that remains fixed.

Overrides:
setPoint in class IlvFixedSizeGraphic
Parameters:
p - The point.
See Also:
IlvFixedSizeGraphic.getPoint()

getMinZoom

public double getMinZoom()
Returns the minimum zoom level below which the object stops zooming.


setMinZoom

public void setMinZoom(double minZoom)
Sets the minimum zoom level below which the object stops zooming.

Parameters:
minZoom - Specifies the zoom level below which the object will be replaced by a gray box.

getMaxZoom

public double getMaxZoom()
Returns the maximum zoom level above which the object stops zooming.


setMaxZoom

public void setMaxZoom(double maxZoom)
Sets the maximum zoom level above which the object stops zooming.

Note: If the maximum zoom is less than the initial zoom, the object is not zoomable any more (that is, zoomable() returns false), and it will be handled less efficiently by JViews.

Parameters:
maxZoom - Specifies the maximum zoom level above which the object will stop zooming. A typical value for maxZoom is 4.

getInitialZoom

public double getInitialZoom()
Returns the initial zoom level.


setInitialZoom

public void setInitialZoom(double initialZoom)
Sets the initial zoom level. The zoom factor of the view's transformer will be multiplied by this initial zoom level for all transformer calculations.

Note: If the initial zoom is greater than the maximum zoom, the object is not zoomable any more (that is to say, zoomable() returns false), and it will be handled less efficiently by JViews.

Parameters:
initialZoom - Specifies the initial zoom level. It cannot be 0.

setUnzoomedForeground

public void setUnzoomedForeground(Color foreground)
Sets the foreground color used to draw the outline of the rectangle when the object is below the minimum zoom level.

Parameters:
foreground - The new foreground color.

getUnzoomedForeground

public Color getUnzoomedForeground()
Returns the foreground color used to draw the outline of the rectangle when the object is below the minimum zoom level.


setUnzoomedBackground

public void setUnzoomedBackground(Color background)
Sets the background color used to fill the rectangle when the object is below the minimum zoom level.

Parameters:
background - The new background color.

getUnzoomedBackground

public Color getUnzoomedBackground()
Returns the background color used to fill the rectangle when the object is below the minimum zoom level.


setGrayedWhenUnzoomed

public void setGrayedWhenUnzoomed(boolean grayedWhenUnzoomed)
Specifies whether the object is drawn as a gray box when the zoom level is less than the minimum zoom, or if it is drawn at its minimum size.

The default value of true.

Note: If this property is set to false, the object is not zoomable any more (that is to say, zoomable() returns false), and it will be handled less efficiently by JViews.

Parameters:
grayedWhenUnzoomed - If true, the object is drawn as a gray box when the zoom level is less than the minimum zoom, and the gray box keeps unzooming as the zoom level decreases. If false, the object is always drawn at its minimum size whenever the zoom level is below the minimum zoom.

isGrayedWhenUnzoomed

public boolean isGrayedWhenUnzoomed()
Returns the flag specifying whether the object is drawn as a gray box when the zoom level is less than the minimum zoom, or if it is drawn at its minimum size.


setRotatable

public void setRotatable(boolean flag)
Sets whether the object supports rotation. If this wrapper has the rotation support disabled, the object always stays in upright position, even if the wrapped object would support rotation. The rotation factor is not delegated to the wrapped object. If this wrapper has the rotation support enabled, it depends on the wrapped object how it behaves under rotation. If the wrapped object also supports rotation, it will rotate normally.

The default value is true.

Since:
JViews 8.1
See Also:
isRotatable()

isRotatable

public boolean isRotatable()
Returns true if the object supports rotation. If this wrapper has the rotation support disabled, the object always stays in upright position, even if the wrapped object would support rotation. The rotation factor is not delegated to the wrapped object. If this wrapper has the rotation support enabled, it depends on the wrapped object how it behaves under rotation. If the wrapped object also supports rotation, it will rotate normally.

Since:
JViews 8.1
See Also:
setRotatable(boolean)

setAlpha

public void setAlpha(float alpha)
Changes the alpha value of this object. The alpha composition value is used to render the wrapped object in a transparent way. The value must be in the range of [0.0, 1.0], the value of 1 means that the object is not transparent.

Parameters:
alpha - The new transparency level in the range [0.0, 1.0].
Since:
JViews 8.0
See Also:
getAlpha()

getAlpha

public float getAlpha()
Returns the alpha value of this object. The alpha composition value is used to render the wrapped object in a transparent way. The value is in the range of [0.0, 1.0], the value of 1 means that the object is not transparent.

Since:
JViews 8.0
See Also:
setAlpha(float)

setAlphaBufferEnabled

public void setAlphaBufferEnabled(boolean enable)
Sets whether an additional buffer is used to draw the object when the alpha composition value is not 1.0. This option has no effect if the alpha value is 1.0. If the alpha buffer is enabled, the drawing routine first draws into the alpha buffer and then copies the result into the drawing. This results into a transparent display of this object that is visually closer to its nontransparent display. If the alpha buffer is disabled, drawing is slightly faster, but the transparent display may differ from the nontransparent display. The alpha buffer is enabled by default.

Parameters:
enable - Whether the alpha buffer is enabled.
Since:
JViews 8.0
See Also:
getAlpha(), isAlphaBufferEnabled()

isAlphaBufferEnabled

public boolean isAlphaBufferEnabled()
Returns true if an additional buffer is used to draw the object when the alpha composition value is not 1.0.

Since:
JViews 8.0
See Also:
getAlpha(), setAlphaBufferEnabled(boolean)

isDelegateObjectInteractor

public boolean isDelegateObjectInteractor(IlvObjectInteractor inter)
Tests whether the input object interactor is the delegate interactor suitable for this class.

Overrides:
isDelegateObjectInteractor in class IlvGraphicHandleBag
Since:
JViews 8.1

notifyObjectInteractorToManager

protected void notifyObjectInteractorToManager(IlvObjectInteractor interactor)
Notifies the manager that the object interactor has changed.

Overrides:
notifyObjectInteractorToManager in class IlvGraphicHandleBag
Since:
JViews 8.1
Internal method or field: do not use!

computeTransformer

public IlvTransformer computeTransformer(IlvTransformer t)
Computes the transformer used to draw this object based on the specified transformer. For example, when this object's draw method is called, the computeTransformer method computes a modified transformer that takes into account the minimum and maximum zoom levels. Then, the new transformer is passed to the draw method of the superclass to actually draw the object.

Parameters:
t - The manager view transformer.

draw

public void draw(Graphics dst,
                 IlvTransformer t)
Draws the object.

Overrides:
draw in class IlvFixedSizeGraphic
Parameters:
dst - The destination Graphics.
t - The transformation used to draw the object.
See Also:
IlvGraphic.boundingBox(ilog.views.IlvTransformer), IlvGraphic.zoomable(), IlvGraphic

boundingBox

public IlvRect boundingBox(IlvTransformer t)
Returns the bounding rectangle of the object. Calls boundingBox on the referenced object.

Overrides:
boundingBox in class IlvFixedSizeGraphic
Parameters:
t - The transformer used to draw the object.
See Also:
IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer), IlvGraphic.zoomable(), IlvGraphic

applyTransform

public void applyTransform(IlvTransformer t)
Applies a transformation to the object.

Overrides:
applyTransform in class IlvFixedSizeGraphic
Parameters:
t - The transformer to be applied.
See Also:
IlvGraphic

unzoomedBBox

protected IlvRect unzoomedBBox()
Returns the bounding box used when the object is drawn below the minimum zoom level. The returned rectangle must be in manager coordinates, and it will be unzoomed according to the view transformer.

The default implementation returns boundingBox(null). If you redefine this method, and if you return a bigger rectangle than the default implementation, then the object is not zoomable any more, and you must also redefine zoomable() to return false.


getReferenceZoom

protected double getReferenceZoom()
Returns the reference zoom. This method can be overridden to change the reference zoom dynamically without having to set the initial zoom level on all the half-zooming objects of a view.

The default implementation returns 1.0.


zoomable

public boolean zoomable()
Returns true if this object is zoomable, and false otherwise. Whether this object is zoomable depends on whether the wrapped object is zoomable and on the parameters of this half-zooming object.

Overrides:
zoomable in class IlvFixedSizeGraphic
See Also:
IlvGraphic, IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer), IlvGraphic.boundingBox(IlvTransformer), IlvManager

contains

public boolean contains(IlvPoint p,
                        IlvPoint tp,
                        IlvTransformer t)
Tests whether a point lies within the outline of the object. Calls contains on the referenced object.

Overrides:
contains in class IlvFixedSizeGraphic
Parameters:
p - The point to be tested.
tp - The point p transformed by the transformer t.
t - The transformation that was applied to the object when it was drawn.
Returns:
true if the point lies inside this graphic object.
See Also:
IlvGraphic

intersects

public boolean intersects(IlvRect rect,
                          IlvRect trect,
                          IlvTransformer t)
Tests whether a rectangle overlaps the object. Calls intersects on the referenced object.

Overrides:
intersects in class IlvFixedSizeGraphic
Parameters:
rect - The rectangle to be tested.
trect - The rectangle rect transformed by the transformer t.
t - The transformation applied to the object when it was drawn.
Returns:
true if the rectangle overlaps this graphic object.
See Also:
IlvGraphic

inside

public boolean inside(IlvRect rect,
                      IlvRect trect,
                      IlvTransformer t)
Tests whether a rectangle contains the object. Calls inside on the referenced object.

Overrides:
inside in class IlvFixedSizeGraphic
Parameters:
rect - The rectangle to be tested.
trect - The rectangle rect transformed by the transformer t.
t - The transformation that was applied to the object when it was drawn.
See Also:
IlvGraphic

getIntersectionWithOutline

public IlvPoint getIntersectionWithOutline(IlvPoint innerPoint,
                                           IlvPoint outerPoint,
                                           IlvTransformer t)
Returns the intersection of the line segment from inner point to outer point with the shape of the graphic object. This method is used the clip links against the shape of the node. The implementation of this method must be robust with respect to the input points: Even if innerPoint is not inside the graphic object, or if outerPoint is not outside the graphic object, it must return a valid point. For instance, if there is no intersection, it can return the start point.

Overrides:
getIntersectionWithOutline in class IlvFixedSizeGraphic
Parameters:
innerPoint - A point usually inside the graphic object, given in manager view coordinates.
outerPoint - A point usually outside of the graphic object, given in manager view coordinates.
t - The transformation used to draw the object.
Since:
JViews 8.1
See Also:
IlvClippingLinkConnector

getToolTipText

public String getToolTipText(IlvPoint p,
                             IlvTransformer t)
Returns the tooltip text to display when the mouse pointer is at a specified location inside the graphic object. It tries to retrieve the tooltip text on the referenced object. If this fails, it tries to retrieve the tooltip text on this object.

Note that you must enable the tooltip mechanism for the manager view by calling the static method IlvToolTipManager.registerView(ilog.views.IlvManagerView).

Overrides:
getToolTipText in class IlvFixedSizeGraphic
Parameters:
p - The location of the mouse (in view coordinates).
t - The transformer that converts the coordinate system of this object (the manager coordinates) into the coordinate system of the manager view in which the tooltip is about to be displayed (the view coordinates).
Returns:
The tool tip at point p for transformation t, or null if no tool tip should be displayed.
See Also:
IlvGraphic, IlvGraphic.getToolTipText(), IlvGraphic.setToolTipText(String)

getPopupMenu

public JPopupMenu getPopupMenu(IlvPoint p,
                               IlvTransformer t,
                               IlvManagerView view,
                               IlvPopupMenuManager popupManager)
Returns the Swing popup menu to display when the popup is triggered while the mouse pointer is at a specified location inside the graphic object. It tries to retrieve the popup menu on the referenced object. If this fails, it tries to retrieve the popup menu on this object.

Note that you must enable the popup menu mechanism for the manager view by calling the static method IlvPopupMenuManager.registerView(ilog.views.IlvManagerView).

Overrides:
getPopupMenu in class IlvFixedSizeGraphic
Parameters:
p - The location of the mouse (in view coordinates).
t - The transformer that converts the coordinate system of this object (the manager coordinates) into the coordinate system of the manager view in which the tooltip is about to be displayed (the view coordinates).
view - The manager view that triggered the popup menu.
popupManager - The popup menu manager.
Returns:
The Swing popup menu, which can be null.
Since:
JViews 8.0
See Also:
IlvGraphic.getPopupMenu(IlvPoint, IlvTransformer, IlvManagerView, IlvPopupMenuManager)

makeSelection

public IlvSelection makeSelection()
Creates the selection object for this class. The default implementation creates an instance of IlvSplineSelection.

Overrides:
makeSelection in class IlvFixedSizeGraphic
See Also:
IlvSplineSelection


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.