Class RubberBandBox


public class RubberBandBox extends LineDrawing
Provides support for a Displayable that comprises a rubber band box. The box can be drawn in spherical and other non-Cartesian coordinate systems by selecting the appropriate X and Y RealTypes.

Sample usage:

  RubberBandBox rbBox =
      new RubberBandBox(RealType.Latitude, RealType.Longitude);
  rbBox.addAction(new ActionImpl() {
      public void doAction()
          throws VisADException, RemoteException
      {
          Gridded2DSet bounds = rbBox.getBounds();
          (do something useful with the box)
      }
  });
 
Version:
$Revision: 1.10 $
Author:
Don Murray
  • Constructor Details

  • Method Details