public class DiscoverableZoom extends Object implements ControlListener
| Constructor and Description |
|---|
DiscoverableZoom() |
| Modifier and Type | Method and Description |
|---|---|
void |
controlChanged(ControlEvent e)
send a ControlEvent to this ControlListener
|
void |
setRenderers(DataRenderer[] rs,
float distance)
the DataRenderers in the rs array are assumed to each link to
a Tuple data object that includes Real fields for Latitude and
Longitude, and that Latitude and Longitude are mapped to spatial
DisplayRealTypes; the DataRenderers in rs are enabled or disabled
to maintain a roughly constant spacing among their visible
depictions;
distance is the scale for distance;
in order to work, this DiscoverableZoom must be added as a
Control Listener to the ProjectionControl of the DisplayImpl
linked to the DataRenderer array rs;
see CollectiveBarbManipulation.java for an example of use
|
public void setRenderers(DataRenderer[] rs, float distance) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic void controlChanged(ControlEvent e) throws VisADException, RemoteException
ControlListenercontrolChanged in interface ControlListenerVisADExceptionRemoteExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.