public class DefaultInfoByPointDataModel extends Observable implements InfoByPointDataModel
| Modifier and Type | Field and Description |
|---|---|
int |
bands |
List<Double> |
bandsValues |
double[] |
cmyk |
double[] |
hsl |
List<String> |
layers |
Point2D |
pixelPoint |
boolean |
projected |
int[] |
rgb |
Point2D |
viewPoint |
Point2D |
worldPoint |
| Constructor and Description |
|---|
DefaultInfoByPointDataModel() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormatedLayerName(int i) |
void |
notifyObservers() |
void |
setARGB(int r,
int g,
int b) |
void |
setBandValues(double[] list) |
void |
setCMYK(double[] cmyk) |
void |
setHSL(double h,
double s,
double l) |
void |
setLayerList(List<String> list) |
void |
setNumberOfBands(int n) |
void |
setPixelPoint(double x,
double y) |
void |
setProjected(boolean projected) |
void |
setViewPoint(double x,
double y) |
void |
setWorldPoint(double x,
double y) |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChangedpublic int bands
public Point2D pixelPoint
public Point2D worldPoint
public Point2D viewPoint
public int[] rgb
public double[] cmyk
public double[] hsl
public boolean projected
public void setProjected(boolean projected)
setProjected in interface InfoByPointDataModelpublic void setBandValues(double[] list)
setBandValues in interface InfoByPointDataModelpublic void setNumberOfBands(int n)
setNumberOfBands in interface InfoByPointDataModelpublic void setLayerList(List<String> list)
setLayerList in interface InfoByPointDataModelpublic void setARGB(int r,
int g,
int b)
setARGB in interface InfoByPointDataModelpublic void setCMYK(double[] cmyk)
setCMYK in interface InfoByPointDataModelpublic void setHSL(double h,
double s,
double l)
setHSL in interface InfoByPointDataModelpublic void setPixelPoint(double x,
double y)
setPixelPoint in interface InfoByPointDataModelpublic void setWorldPoint(double x,
double y)
setWorldPoint in interface InfoByPointDataModelpublic void setViewPoint(double x,
double y)
setViewPoint in interface InfoByPointDataModelpublic String getFormatedLayerName(int i)
getFormatedLayerName in interface InfoByPointDataModelpublic void notifyObservers()
notifyObservers in interface InfoByPointDataModelnotifyObservers in class Observable