ilog.tgo.composite
Class IltcZoomEvent
java.lang.Object
java.util.EventObject
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
IltcZoomEvent
public IltcZoomEvent(Object source,
IlvTransformer zoom)
- Creates an event.
- Parameters:
source - the source of the event, an IlvManagerzoom - the transform which is being applied to all objects in
the manager
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.