ilog.views.sdm.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
                      extended by ilog.views.sdm.graphic.IlvHalfZoomingGraphic
All Implemented Interfaces:
GraphicBagHierarchyEventReceiver, ManagerViewsHierarchyEventReceiver, IlvGraphicBag, IlvPersistentObject, Transferable, Serializable

Deprecated. Beginning with ILOG JViews 7.0, you should use IlvHalfZoomingGraphic instead, which has the same API and the same functionality.

public class IlvHalfZoomingGraphic
extends IlvHalfZoomingGraphic

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 manager view's zoom is greater than the maximum zoom, the IlvHalfZoomingGraphic object behaves like a fixed-size graphic: Its size remains constant.

When the manager view's zoom 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 and unzooms 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.

Since:
JViews 4.0
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ilog.views.graphic.IlvHalfZoomingGraphic
DELEGATE_INTERACTOR
 
Constructor Summary
IlvHalfZoomingGraphic(IlvGraphic object, int position, IlvPoint point, double minZoom, double maxZoom, double initialZoom)
          Deprecated.  
IlvHalfZoomingGraphic(IlvHalfZoomingGraphic source)
          Deprecated.  
IlvHalfZoomingGraphic(IlvInputStream stream)
          Deprecated.  
 
Method Summary
 
Methods inherited from class ilog.views.graphic.IlvHalfZoomingGraphic
applyTransform, boundingBox, computeTransformer, contains, copy, draw, getAlpha, getInitialZoom, getIntersectionWithOutline, getMaxZoom, getMinZoom, getPopupMenu, getReferenceZoom, getToolTipText, getUnzoomedBackground, getUnzoomedForeground, inside, intersects, isAlphaBufferEnabled, isDelegateObjectInteractor, isGrayedWhenUnzoomed, isRotatable, makeSelection, notifyObjectInteractorToManager, setAlpha, setAlphaBufferEnabled, setGraphicBag, setGrayedWhenUnzoomed, setInitialZoom, setMaxZoom, setMinZoom, setPoint, setPosition, setRotatable, setUnzoomedBackground, setUnzoomedForeground, unzoomedBBox, write, zoomable
 
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
 

Constructor Detail

IlvHalfZoomingGraphic

public IlvHalfZoomingGraphic(IlvGraphic object,
                             int position,
                             IlvPoint point,
                             double minZoom,
                             double maxZoom,
                             double initialZoom)
Deprecated. 

IlvHalfZoomingGraphic

public IlvHalfZoomingGraphic(IlvHalfZoomingGraphic source)
Deprecated. 

IlvHalfZoomingGraphic

public IlvHalfZoomingGraphic(IlvInputStream stream)
                      throws IlvReadFileException
Deprecated. 
Throws:
IlvReadFileException


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