public class GeorGrayscaleEntry
extends java.lang.Object
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 and Description |
|---|
GeorGrayscaleEntry()
Constructs a
GeorGrayscaleEntry object. |
GeorGrayscaleEntry(double cellValue, int gray)
Constructs a
GeorGrayscaleEntry object with the given cell value and gray value. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public GeorGrayscaleEntry()
GeorGrayscaleEntry object.
public GeorGrayscaleEntry(double cellValue,
int gray)
GeorGrayscaleEntry object with the given cell value and gray value.cellValue - cell valuegray - gray valuepublic double getCellValue()
public void setCellValue(double cellValue)
cellValue - cell valuepublic int getGray()
public void setGray(int gray)
gray - gray value