Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


oracle.spatial.georaster
Class GeorGrayscaleEntry

java.lang.Object
  extended by oracle.spatial.georaster.GeorGrayscaleEntry


public class GeorGrayscaleEntry
extends java.lang.Object

A GeoRaster grayscale entry, which contains two components: cellvalue and gray. It is combined with class GeorGrayscale to represent a GeoRaster grayscale.

Two constructors are provided: one is the default constructor without parameters, and the other constructor allows you to specify a cell value and gray value.

Methods in this class are provided for retrieving and setting the cell value and gray value.


Constructor Summary
GeorGrayscaleEntry()
          Constructs a GeorGrayscaleEntry object.
GeorGrayscaleEntry(double cellValue, int gray)
          Constructs a GeorGrayscaleEntry object with the given cell value and gray value.

 

Method Summary
 double getCellValue()
          Returns the cell value.
 int getGray()
          Returns the gray value.
 void setCellValue(double cellValue)
          Sets the cell value.
 void setGray(int gray)
          Sets the gray value.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

GeorGrayscaleEntry

public GeorGrayscaleEntry()
Constructs a GeorGrayscaleEntry object.

GeorGrayscaleEntry

public GeorGrayscaleEntry(double cellValue,
                          int gray)
Constructs a GeorGrayscaleEntry object with the given cell value and gray value.
Parameters:
cellValue - cell value
gray - gray value

Method Detail

getCellValue

public double getCellValue()
Returns the cell value.
Returns:
cell value.

setCellValue

public void setCellValue(double cellValue)
Sets the cell value.
Parameters:
cellValue - cell value

getGray

public int getGray()
Returns the gray value.
Returns:
gray value.

setGray

public void setGray(int gray)
Sets the gray value.
Parameters:
gray - gray value

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.