Exemple #1
0
  /**
   * Invoked when box mouse is released. Subclasses should invoke super.dataChange() to ensure the
   * the bounds are set.
   *
   * @throws RemoteException
   * @throws VisADException
   */
  protected void dataChange() throws VisADException, RemoteException {

    bounds = (Gridded2DSet) getData();

    /*  debug
        float[] highs = bounds.getHi();
        float[] lows = bounds.getLow();
        if (highs != null && lows != null)
            System.out.println("box: X range = " + lows[0] + " to " +
                               highs[0] +
                  "; Y range = " + lows[1] + " to " + highs[1] );
    */
    super.dataChange();
  }