Documentation of 'visad.bom.DiscoverableZoom' Java class
DiscoverableZoom
visad.bom

Class DiscoverableZoom

  • All Implemented Interfaces:
    java.util.EventListener, ControlListener


    public class DiscoverableZoom
    extends java.lang.Object
    implements ControlListener
    DiscoverableZoom is the VisAD class for discoverable zoom of displayed data.
    • Constructor Summary

      Constructors 
      Constructor and Description
      DiscoverableZoom() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DiscoverableZoom

        public DiscoverableZoom()
    • Method Detail

      • setRenderers

        public void setRenderers(DataRenderer[] rs,
                                 float distance)
                          throws VisADException,
                                 java.rmi.RemoteException
        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
        Throws:
        VisADException
        java.rmi.RemoteException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.