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, setChanged
public 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 InfoByPointDataModel
public void setBandValues(double[] list)
setBandValues
in interface InfoByPointDataModel
public void setNumberOfBands(int n)
setNumberOfBands
in interface InfoByPointDataModel
public void setLayerList(List<String> list)
setLayerList
in interface InfoByPointDataModel
public void setARGB(int r, int g, int b)
setARGB
in interface InfoByPointDataModel
public void setCMYK(double[] cmyk)
setCMYK
in interface InfoByPointDataModel
public void setHSL(double h, double s, double l)
setHSL
in interface InfoByPointDataModel
public void setPixelPoint(double x, double y)
setPixelPoint
in interface InfoByPointDataModel
public void setWorldPoint(double x, double y)
setWorldPoint
in interface InfoByPointDataModel
public void setViewPoint(double x, double y)
setViewPoint
in interface InfoByPointDataModel
public String getFormatedLayerName(int i)
getFormatedLayerName
in interface InfoByPointDataModel
public void notifyObservers()
notifyObservers
in interface InfoByPointDataModel
notifyObservers
in class Observable