ilog.views.maps.graphic
Class IlvMapSelection

java.lang.Object
  extended by ilog.views.IlvGraphic
      extended by ilog.views.IlvSelection
          extended by ilog.views.maps.graphic.IlvMapSelection
All Implemented Interfaces:
IlvPersistentObject, Transferable, Serializable

public class IlvMapSelection
extends IlvSelection

A IlvMapSelection that selects an object by selecting its points. The number of point selected depends on the scale so that only a few points are displayed for the selection.

Since:
JViews 7.5
See Also:
Serialized Form

Constructor Summary
IlvMapSelection(IlvGraphic obj)
          Constructs an IlvMapSelection
 
Method Summary
 IlvRect boundingBox(IlvTransformer t)
          Returns the bounding box of the object.
 void draw(Graphics dst, IlvTransformer t)
          Draws the selection.
 
Methods inherited from class ilog.views.IlvSelection
applyTransform, copy, getDefaultInteractor, getObject, isOptimizedDrawingEnabled, isVisible, onEnter, onExit, SetDefaultInteractor
 
Methods inherited from class ilog.views.IlvGraphic
addActionListener, addNamedPropertyListener, boundingBox, contains, getAndAssociateObjectInteractor, getCenter, getGraphicBag, GetGraphicObject, getIntersectionWithOutline, getName, getNamedProperty, getObjectInteractor, getPopupMenu, getPopupMenu, getPopupMenuName, getProperty, getToolTipText, getToolTipText, getTopLevelGraphicBag, getTransferData, getTransferDataFlavors, hasProperty, inside, intersects, isDataFlavorSupported, isEditable, isInApplyToObject, isMovable, isPersistent, isSelectable, makeSelection, move, move, moveResize, notifyObjectInteractorToManager, processActionEvent, reDraw, removeActionListener, removeNamedProperty, removeNamedPropertyListener, removeProperty, replaceProperty, resize, rotate, scale, setBackground, setEditable, setFillOn, setForeground, setGraphicBag, setInApplyToObject, setMovable, setName, setNamedProperty, setNameImpl, setObjectInteractor, setPopupMenu, setPopupMenuName, setProperty, setSelectable, setStrokeOn, setToolTipText, setVisible, toString, translate, write, zoomable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IlvMapSelection

public IlvMapSelection(IlvGraphic obj)
Constructs an IlvMapSelection

Parameters:
obj - The object to select.
Method Detail

draw

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

Specified by:
draw in class IlvGraphic
Parameters:
dst - The Graphic used to draw.
t - The IlvTransformer.
See Also:
IlvGraphic.boundingBox(ilog.views.IlvTransformer), IlvGraphic.zoomable(), IlvGraphic

boundingBox

public IlvRect boundingBox(IlvTransformer t)
Returns the bounding box of the object.

Specified by:
boundingBox in class IlvGraphic
Parameters:
t - The transformer at which the bounding box is to be computed.
Returns:
The bounding box.
See Also:
IlvGraphic.draw(java.awt.Graphics, ilog.views.IlvTransformer), IlvGraphic.zoomable(), IlvGraphic


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