public class DefaultInfoByPointDataModel extends java.util.Observable implements InfoByPointDataModel
Modifier and Type | Field and Description |
---|---|
int |
bands |
java.util.List<java.lang.Double> |
bandsValues |
double[] |
cmyk |
double[] |
hsl |
java.util.List<java.lang.String> |
layers |
java.awt.geom.Point2D |
pixelPoint |
boolean |
projected |
int[] |
rgb |
java.awt.geom.Point2D |
viewPoint |
java.awt.geom.Point2D |
worldPoint |
Constructor and Description |
---|
DefaultInfoByPointDataModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.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(java.util.List<java.lang.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) |
public int bands
public java.util.List<java.lang.Double> bandsValues
public java.awt.geom.Point2D pixelPoint
public java.awt.geom.Point2D worldPoint
public java.awt.geom.Point2D viewPoint
public int[] rgb
public double[] cmyk
public double[] hsl
public java.util.List<java.lang.String> layers
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(java.util.List<java.lang.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 java.lang.String getFormatedLayerName(int i)
getFormatedLayerName
in interface InfoByPointDataModel
public void notifyObservers()
notifyObservers
in interface InfoByPointDataModel
notifyObservers
in class java.util.Observable