public class IltcZoomEvent extends EventObject
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 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
.
IltcZoomListener
,
Serialized Formsource
Constructor and Description |
---|
IltcZoomEvent(Object source,
IlvTransformer zoom)
Creates an event.
|
Modifier and Type | Method and Description |
---|---|
IlvTransformer |
getZoom()
Returns the zoom factor.
|
getSource, toString
public IltcZoomEvent(Object source, IlvTransformer zoom)
source
- the source of the event, an IlvManagerzoom
- the transform which is being applied to all objects in
the managerpublic IlvTransformer getZoom()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.