Class ColorMapperRCP

java.lang.Object
bacnet.table.core.ColorMapperRCP
All Implemented Interfaces:
Serializable, Cloneable

public class ColorMapperRCP extends Object implements Serializable, Cloneable
See Also:
  • 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

      public Color parseColorAWT(double value)
    • swtColorToAwt

      public static Color swtColorToAwt(org.eclipse.swt.graphics.Color color)
    • 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

      public void setValues(ExpressionMatrix exprMatrix)
    • 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

      public static void setColorMapperValues(ArrayList<ExpressionMatrix> matrices)
    • clone

      public ColorMapperRCP clone()
    • load

      public static ColorMapperRCP load(String fileName, org.eclipse.swt.widgets.Shell shell)
    • save

      public void save(String fileName)
    • getType

      public ColorMapperRCP.Type getType()
      GETTERS and SETTERS
    • getColumnNames

      public TreeSet<String> getColumnNames()
    • setColumnNames

      public void setColumnNames(TreeSet<String> columnNames)
    • setType

      public void setType(ColorMapperRCP.Type type)
    • 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

      public Font getFontString()
    • setFontString

      public void setFontString(Font fontString)
    • getFontDouble

      public Font getFontDouble()
    • setFontDouble

      public void setFontDouble(Font fontDouble)
    • getCenterColorSWT

      public ColorSWT getCenterColorSWT()
    • setCenterColorSWT

      public void setCenterColorSWT(ColorSWT centerColorSWT)
    • getMinColorSWT

      public ColorSWT getMinColorSWT()
    • setMinColorSWT

      public void setMinColorSWT(ColorSWT minColorSWT)
    • getMaxColorSWT

      public ColorSWT getMaxColorSWT()
    • setMaxColorSWT

      public void setMaxColorSWT(ColorSWT maxColorSWT)
    • getMidLeftColorSWT

      public ColorSWT getMidLeftColorSWT()
    • setMidLeftColorSWT

      public void setMidLeftColorSWT(ColorSWT midLeftColorSWT)
    • getMidRightColorSWT

      public ColorSWT getMidRightColorSWT()
    • setMidRightColorSWT

      public void setMidRightColorSWT(ColorSWT midRightColorSWT)
    • getHeaderColorSWT

      public ColorSWT getHeaderColorSWT()
    • setHeaderColorSWT

      public void setHeaderColorSWT(ColorSWT headerColorSWT)
    • getTextHeaderColorSWT

      public ColorSWT getTextHeaderColorSWT()
    • setTextHeaderColorSWT

      public void setTextHeaderColorSWT(ColorSWT textHeaderColorSWT)
    • getTextColorSWT

      public ColorSWT getTextColorSWT()
    • setTextColorSWT

      public void setTextColorSWT(ColorSWT textColorSWT)