Class ColoringData

All Implemented Interfaces:

public class ColoringData
extends Object
implements ComponentData
Hold coloring information. Implemented as a component since several types of items may be colored.
See Also:
Developer documentation: Other classes
Last modified
$Date: 2011-10-21 13:15:41 +0200 (fr, 21 okt 2011) $
  • Field Details

    • useColors

      private boolean useColors
    • logarithmic

      private boolean logarithmic
    • minValue

      private Float minValue
    • midValue

      private Float midValue
    • maxValue

      private Float maxValue
  • Constructor Details

    • ColoringData

      public ColoringData()
    • ColoringData

      public ColoringData​(boolean useColors, boolean logarithmic, Float minValue, Float midValue, Float maxValue)
  • Method Details

    • isUsingColors

      public boolean isUsingColors()
      If colors should be used or not.
      Hibernate: property
      column="`use_colors`" type="boolean" not-null="true"
    • setUsingColors

      public void setUsingColors​(boolean useColors)
    • isLogarithmic

      public boolean isLogarithmic()
      If values should be logarithmised or not.
      Hibernate: property
      column="`logarithmic`" type="boolean" not-null="true"
    • setLogarithmic

      public void setLogarithmic​(boolean logarithmic)
    • getMinValue

      public Float getMinValue()
      The value for the minimum endpoint color.
      Hibernate: property
      column="`min_value`" type="float" not-null="false"
    • setMinValue

      public void setMinValue​(Float minValue)
    • getMidValue

      public Float getMidValue()
      The value for the midpoint color.
      Hibernate: property
      column="`mid_value`" type="float" not-null="false"
    • setMidValue

      public void setMidValue​(Float midValue)
    • getMaxValue

      public Float getMaxValue()
      The value for the ax endpoint color.
      Hibernate: property
      column="`max_value`" type="float" not-null="false"
    • setMaxValue

      public void setMaxValue​(Float maxValue)