Class JNCSRendererProxy

java.lang.Object
com.vividsolutions.jump.workbench.imagery.ecw.JNCSRendererProxy

public class JNCSRendererProxy extends Object
The purpose of this proxy class is to defer linking to the proprietary ECW ER Mapper library till runtime. So it's not necessary to ship the library and/or its Java wrapper in binary distributions of OpenJUMP.
Author:
Sascha L. Teichmann (sascha.teichmann@intevation.de)
  • Field Details

    • RENDERER_CLASS

      public static final String RENDERER_CLASS
    • renderer

      protected Object renderer
  • Constructor Details

  • Method Details

    • throwAsException

      public static void throwAsException(InvocationTargetException ite) throws Exception
      Throws:
      Exception
    • getInt

      public static int getInt(Object object, String fieldname)
    • getInt

      public int getInt(String fieldname)
    • getDouble

      public static double getDouble(Object object, String fieldname)
    • getDouble

      public double getDouble(String fieldname)
    • getOriginX

      public double getOriginX()
    • getOriginY

      public double getOriginY()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getCellIncrementX

      public double getCellIncrementX()
    • getCellIncrementY

      public double getCellIncrementY()
    • getNumBands

      public int getNumBands()
    • convertWorldToDataset

      public Point convertWorldToDataset(double x, double y) throws Exception
      Throws:
      Exception
    • convertDatasetToWorld

      public Point2D.Double convertDatasetToWorld(int x, int y) throws Exception
      Throws:
      Exception
    • setView

      public void setView(int numBands, int[] bands, int firstColumn, int firstLine, int lastColumn, int lastLine, int width, int height) throws Exception
      Throws:
      Exception
    • readLineRGBA

      public void readLineRGBA(int[] rgba) throws Exception
      Throws:
      Exception
    • close

      public void close(boolean flag)