Package bacnet.table.core
Class ColorMapperRCP
java.lang.Object
bacnet.table.core.ColorMapperRCP
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
org.eclipse.swt.graphics.Color
double
org.eclipse.swt.graphics.Color
getColorBetween
(double value, double left, double right, org.eclipse.swt.graphics.Color leftColor, org.eclipse.swt.graphics.Color rightColor) double
org.eclipse.swt.graphics.Color
org.eclipse.swt.graphics.Color
getInocuaColor
(double value) double
getMax()
org.eclipse.swt.graphics.Color
double
double
getMean()
double
org.eclipse.swt.graphics.Color
double
org.eclipse.swt.graphics.Color
double
double
getMin()
org.eclipse.swt.graphics.Color
double
int
org.eclipse.swt.graphics.Color
org.eclipse.swt.graphics.Color
getType()
GETTERS and SETTERSdouble[]
double
getVar()
static ColorMapperRCP
org.eclipse.swt.graphics.Color
parseColor
(double value) parseColorAWT
(double value) void
void
setCenterColor
(org.eclipse.swt.graphics.Color centerColor) void
setCenterColorSWT
(ColorSWT centerColorSWT) void
setCenterPos
(double centerPos) static void
setColorMapperValues
(ArrayList<ExpressionMatrix> matrices) void
setColumnNames
(TreeSet<String> columnNames) void
void
void
void
setDeviation
(double deviation) void
setFontDouble
(Font fontDouble) void
setFontString
(Font fontString) void
setHeaderColor
(org.eclipse.swt.graphics.Color headerColor) void
setHeaderColorSWT
(ColorSWT headerColorSWT) void
setMax
(double max) void
setMaxColor
(org.eclipse.swt.graphics.Color maxColor) void
setMaxColorSWT
(ColorSWT maxColorSWT) void
setMaxPos
(double maxPos) void
setMean
(double mean) void
setMedian
(double median) void
setMidLeftColor
(org.eclipse.swt.graphics.Color midLeftColor) void
setMidLeftColorSWT
(ColorSWT midLeftColorSWT) void
setMidLeftPos
(double midLeftPos) void
setMidRightColor
(org.eclipse.swt.graphics.Color midRightColor) void
setMidRightColorSWT
(ColorSWT midRightColorSWT) void
setMidRightPos
(double midRightPos) void
setMin
(double min) void
setMinColor
(org.eclipse.swt.graphics.Color minColor) void
setMinColorSWT
(ColorSWT minColorSWT) void
setMinPos
(double minPos) void
setNbElements
(int nbElements) void
setStat()
void
void
void
Set parameters corresponding to stat data i.e. value from 0 to 1void
void
setTextColor
(org.eclipse.swt.graphics.Color textColor) void
setTextColorSWT
(ColorSWT textColorSWT) void
setTextHeaderColor
(org.eclipse.swt.graphics.Color textHeaderColor) void
setTextHeaderColorSWT
(ColorSWT textHeaderColorSWT) void
setType
(ColorMapperRCP.Type type) void
setValues
(double[] values) void
setValues
(ExpressionMatrix exprMatrix) void
setVar
(double var) static Color
swtColorToAwt
(org.eclipse.swt.graphics.Color color)
-
Field Details
-
display
public transient org.eclipse.swt.widgets.Display display -
displayValues
public boolean displayValues
-
-
Constructor Details
-
ColorMapperRCP
public ColorMapperRCP(org.eclipse.swt.widgets.Shell shell)
-
-
Method Details
-
parseColor
public org.eclipse.swt.graphics.Color parseColor(double value) -
parseColorAWT
-
swtColorToAwt
-
getColorBetween
public org.eclipse.swt.graphics.Color getColorBetween(double value, double left, double right, org.eclipse.swt.graphics.Color leftColor, org.eclipse.swt.graphics.Color rightColor) -
setValues
-
setDefault
public void setDefault() -
setDefaultPos
public void setDefaultPos() -
setDefaultColor
public void setDefaultColor() -
setStat
public void setStat() -
getValues
public double[] getValues() -
getInocuaColor
public org.eclipse.swt.graphics.Color getInocuaColor(double value) -
setStatMapper
public void setStatMapper()Set parameters corresponding to stat data i.e. value from 0 to 1 -
setStatDataValues
public void setStatDataValues() -
setStatDataColor
public void setStatDataColor() -
setStdevDataColor
public void setStdevDataColor() -
setColorMapperValues
-
clone
-
load
-
save
-
getType
GETTERS and SETTERS -
getColumnNames
-
setColumnNames
-
setType
-
setValues
public void setValues(double[] values) -
getMin
public double getMin() -
setMin
public void setMin(double min) -
getMax
public double getMax() -
setMax
public void setMax(double max) -
getMean
public double getMean() -
setMean
public void setMean(double mean) -
getMedian
public double getMedian() -
setMedian
public void setMedian(double median) -
getVar
public double getVar() -
setVar
public void setVar(double var) -
getDeviation
public double getDeviation() -
setDeviation
public void setDeviation(double deviation) -
getNbElements
public int getNbElements() -
setNbElements
public void setNbElements(int nbElements) -
getCenterPos
public double getCenterPos() -
setCenterPos
public void setCenterPos(double centerPos) -
getMinPos
public double getMinPos() -
setMinPos
public void setMinPos(double minPos) -
getMaxPos
public double getMaxPos() -
setMaxPos
public void setMaxPos(double maxPos) -
getMidLeftPos
public double getMidLeftPos() -
setMidLeftPos
public void setMidLeftPos(double midLeftPos) -
getMidRightPos
public double getMidRightPos() -
setMidRightPos
public void setMidRightPos(double midRightPos) -
getCenterColor
public org.eclipse.swt.graphics.Color getCenterColor() -
setCenterColor
public void setCenterColor(org.eclipse.swt.graphics.Color centerColor) -
getMinColor
public org.eclipse.swt.graphics.Color getMinColor() -
setMinColor
public void setMinColor(org.eclipse.swt.graphics.Color minColor) -
getMaxColor
public org.eclipse.swt.graphics.Color getMaxColor() -
setMaxColor
public void setMaxColor(org.eclipse.swt.graphics.Color maxColor) -
getMidLeftColor
public org.eclipse.swt.graphics.Color getMidLeftColor() -
setMidLeftColor
public void setMidLeftColor(org.eclipse.swt.graphics.Color midLeftColor) -
getMidRightColor
public org.eclipse.swt.graphics.Color getMidRightColor() -
setMidRightColor
public void setMidRightColor(org.eclipse.swt.graphics.Color midRightColor) -
getHeaderColor
public org.eclipse.swt.graphics.Color getHeaderColor() -
setHeaderColor
public void setHeaderColor(org.eclipse.swt.graphics.Color headerColor) -
getTextHeaderColor
public org.eclipse.swt.graphics.Color getTextHeaderColor() -
setTextHeaderColor
public void setTextHeaderColor(org.eclipse.swt.graphics.Color textHeaderColor) -
getTextColor
public org.eclipse.swt.graphics.Color getTextColor() -
setTextColor
public void setTextColor(org.eclipse.swt.graphics.Color textColor) -
getFontString
-
setFontString
-
getFontDouble
-
setFontDouble
-
getCenterColorSWT
-
setCenterColorSWT
-
getMinColorSWT
-
setMinColorSWT
-
getMaxColorSWT
-
setMaxColorSWT
-
getMidLeftColorSWT
-
setMidLeftColorSWT
-
getMidRightColorSWT
-
setMidRightColorSWT
-
getHeaderColorSWT
-
setHeaderColorSWT
-
getTextHeaderColorSWT
-
setTextHeaderColorSWT
-
getTextColorSWT
-
setTextColorSWT
-