ilog.tgo.composite
Class IltcZoomEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.tgo.composite.IltcZoomEvent
All Implemented Interfaces:
Serializable

public class IltcZoomEvent
extends EventObject

A zoom event is delivered when the logical zoom level of an IltcCompositeManager changes. This happens when an IltLogicalZoomPolicy is attached or detached, or when the transformer of the target view of an IltMixedZoomPolicy changes.

Note: For compatibility with ILOG JTGO 1.1, the event's source is the IlvManager, but many IltcCompositeManagers can use the same IlvManager, and each of them has its own zoom policy. Therefore the IltcZoomEvent mechanism is of limited use; an alternative is to make a subclass of IltZoomPolicy.

Since:
JTGO 1.0
See Also:
IltcZoomListener, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
IltcZoomEvent(Object source, IlvTransformer zoom)
          Creates an event.
 
Method Summary
 IlvTransformer getZoom()
          Returns the zoom factor.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IltcZoomEvent

public IltcZoomEvent(Object source,
                     IlvTransformer zoom)
Creates an event.

Parameters:
source - the source of the event, an IlvManager
zoom - the transform which is being applied to all objects in the manager
Method Detail

getZoom

public IlvTransformer getZoom()
Returns the zoom factor. This is the transform which is being applied to all objects in the manager.



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